Description Usage Arguments Value Author(s) See Also Examples
View source: R/run_SS_models.R
Loops over a vector of directories and iteratively runs SS in each one
1 2 3 |
dirvec |
List of directories containing the model files |
model |
Executable name |
extras |
Additional commands to use when running SS. Default = "-nox" will reduce the amount of command-line output. |
systemcmd |
Should R call SS using "system" function instead of "shell". This may be required when running R in Emacs. Default = FALSE. |
skipfinished |
Skip any folders that already contain a Report.sso file. This can be helpful if the function is interrupted. |
intern |
Show output in the R console or save to a file? |
verbose |
Return updates of function progress to the R console? |
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. |
Returns table showing which directories had model run and which had errors like missing executable or Report.sso already present
Ian Taylor
copy_SS_inputs
,
populate_multiple_folders
1 2 3 4 5 6 | ## Not run:
dirvec <- dir("c:/SS/models_to_run", full.names=TRUE)
run_SS_models(dirvec=dirvec)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.