Skip to contents

Write Stock Synthesis data file from list object in R which was probably created using SS_readdat() (which would have called on SS_readdat_3.24()).

Usage

SS_writedat_3.24(
  datlist,
  outfile,
  overwrite = FALSE,
  faster = lifecycle::deprecated(),
  verbose = TRUE
)

Arguments

datlist

List object created by SS_readdat().

outfile

Filename for where to write new data file.

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.

Details

Support for 3.24 models within the r4ss SS_read* and SS_write*() functions is ending, so please update models to 3.30.

Author

Ian G. Taylor, Yukio Takeuchi, Gwladys I. Lambert, Kelli F. Johnson, Chantel R. Wetzel