populate_multiple_folders {r4ss} | R Documentation |
Populate multiple Stock Synthesis folders with input files
Description
Creates a set of multiple folders and populate each with SS input files such as for the purpose of running a new version of SS for an existing set of test models.
Usage
populate_multiple_folders(
outerdir.old = NULL,
outerdir.new = NULL,
create.dir = TRUE,
overwrite = FALSE,
use_ss_new = FALSE,
exe.dir = NULL,
exe.file = "ss.exe",
exe.only = FALSE,
verbose = TRUE
)
Arguments
outerdir.old |
Location of existing outer directory containing subdirectories for each model. |
outerdir.new |
New outer directory into which the subfolders should be created. |
create.dir |
Create new outer directory if it doesn't exist already? |
overwrite |
Overwrite existing files with matching names? |
use_ss_new |
Use .ss_new files instead of original inputs? |
exe.dir |
Path to executable to copy into all the subfolders. |
exe.file |
Filename of executable to copy into all the subfolders. A value of NULL will skip copying the executable. |
exe.only |
Only copy exe files from exe.dir, don't copy input files |
verbose |
Return updates of function progress to the R console? |
Value
Returns table of results indicating which directories were successfully populated with the model input files and/or executables
Author(s)
Ian Taylor
See Also
Examples
## Not run:
populate_multiple_folders(
outerdir.old = "c:/SS/old_models",
outerdir.new = "c:/SS/new_models",
exe.dir = "c:/SS/SSv3.30.12.00"
)
## End(Not run)