View source: R/populate_multiple_folders.R
populate_multiple_folders | R Documentation |
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.
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 )
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? |
Returns table of results indicating which directories were successfully populated with the model input files and/or executables
Ian Taylor
copy_SS_inputs()
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.