Learn R Programming

r4ss (version 1.44.0)

get_dat_new_name: Get the name of the data .ss_new file in a directory

Description

In previous versions of Stock Synthesis, the file new data file was named data.ss_new. _echo was added to the name when the file was parsed into three separate files.

Usage

get_dat_new_name(dir)

Arguments

dir

Relative or absolute path to a directory

Value

A string with the name of the data .ss_new file. If not found, will be NA. Both of strings are searched for using dir(pattern = ) and if both exist, then data_echo.ss_new is returned.