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

View source: R/helper_fxns.R

get_dat_new_nameR Documentation

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.


r4ss documentation built on May 28, 2022, 1:11 a.m.