run_models_parallel_base: Base function to run a Stock Synthesis model.

Description Usage Arguments Value Author(s) See Also

View source: R/run_SS_models_parallel.R

Description

Runs SS in a directory

Usage

1
2
run_models_parallel_base(dir, exe, exe_in_path, skipfinished, model,
  extras, OS, systemcmd, intern)

Arguments

dir

A director List of directories containing the model files

exe

The path to the exe

exe_in_path

logical. If TRUE, will look for exe in the PATH. If FALSE, will look for exe in the model folders. Default = FALSE.

skipfinished

Skip any folders that already contain a Report.sso file. This can be helpful if the function is interrupted.

model

Executable name

extras

Additional commands to use when running SS. Default = "-nox" will reduce the amount of command-line output.

OS

The operating system used. "Windows", "Mac", or "Linux".

systemcmd

Should R call SS using "system" function instead of "shell". This may be required when running R in Emacs. Default = FALSE.

intern

Show output in the R console or save to a file? Default = TRUE.

Value

Returns table showing which directories had model run and which had errors like missing executable or Report.sso already present

Author(s)

Ian Taylor, Kathryn Doering

See Also

run_SS_models_parallel


r4ss/SStesting documentation built on July 7, 2020, 12:11 p.m.