Write Stock Synthesis data file from list object in R which was probably
created using SS_readdat(). This function is a
wrapper which calls either SS_writedat_3.30()(previously also
SS_writedat_3.24(), but that function has been deprecated).
Usage
SS_writedat(
datlist,
outfile,
version = "3.30",
overwrite = FALSE,
faster = lifecycle::deprecated(),
verbose = TRUE
)Arguments
- datlist
List object created by
SS_readdat()(or bySS_readdat_3.24()orSS_readdat_3.24())- outfile
Filename for where to write new data file.
- version
SS version number. Currently "3.24" or "3.30" are supported, either as character or numeric values (noting that numeric 3.30 = 3.3).
version = NULLis no longer the default or an allowed entry. The default isversion = "3.30".- overwrite
A logical value specifying if the existing file(s) should be overwritten. The default value is
overwrite = FALSE.- faster
Deprecated. Speed up writing by writing length and age comps without aligning the columns (by using write.table instead of print.data.frame)
- verbose
A logical value specifying if output should be printed to the screen.
See also
Other read/write functions:
SS_read(),
SS_readctl(),
SS_readdat(),
SS_readforecast(),
SS_readstarter(),
SS_write(),
SS_writectl(),
SS_writeforecast(),
SS_writestarter()