Learn R Programming

r4ss (version 1.44.0)

SS_writectl: Write Stock Synthesis control file

Description

Write Stock Synthesis control file from list object in R which was probably created using SS_readctl(). This function is a wrapper which calls either SS_writectl_3.24 or SS_writectl_3.30 (and potentially additional functions in the future).

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

Should existing files be overwritten? Defaults to FALSE.

verbose

Should there be verbose output while running the file? Defaults to FALSE.

See Also

SS_writedat_3.24(), SS_writedat_3.30(), SS_readdat(), SS_readstarter(), SS_writestarter(), SS_readforecast(), SS_writeforecast()