Skip to contents

Write Stock Synthesis control file from list object in R which was probably created using SS_readctl(). This function is a wrapper which calls SS_writectl_3.30() (previously also SS_writectl_3.24, but that function has been deprecated).

Usage

SS_writectl(
  ctllist,
  outfile,
  version = "3.30",
  overwrite = FALSE,
  verbose = FALSE
)

Arguments

ctllist

List object created by SS_readdat().

outfile

Filename for where to write new control 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 = NULL is no longer the default or an allowed entry. The default is version = "3.30".

overwrite

A logical value specifying if the existing file(s) should be overwritten. The default value is overwrite = FALSE.

verbose

A logical value specifying if output should be printed to the screen.

See also

Author

Ian G. Taylor, Yukio Takeuchi, Gwladys I. Lambert, Kathryn L. Doering, Nathan R. Vaughan