View source: R/populate_multiple_folders.R
populate_multiple_folders | R Documentation |
Creates a set of multiple folders and populates each with SS3 input files such as for the purpose of running a new version of SS3 for an existing set of test models.
populate_multiple_folders(
outerdir.old,
outerdir.new,
create.dir = TRUE,
overwrite = FALSE,
use_ss_new = FALSE,
copy_par = FALSE,
exe.dir = NULL,
exe.file = "ss3",
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 |
A logical value specifying if the existing file(s)
should be overwritten. The default value is |
use_ss_new |
Use .ss_new files instead of original inputs? |
copy_par |
Copy any .par files found in the individual directories? |
exe.dir |
Where to get executable to copy to each new subfolder. Options are
|
exe.file |
Filename of executable to copy into all the subfolders. |
verbose |
A logical value specifying if output should be printed to the screen. |
Returns a table of results indicating which directories were successfully populated with the model input files and/or executables.
Ian G. Taylor, Kelli F. Johnson
Other run functions:
copy_SS_inputs()
,
jitter()
,
profile()
,
retro()
,
run()
,
tune_comps()
## Not run:
populate_multiple_folders(
outerdir.old = system.file("extdata", package = "r4ss"),
outerdir.new = file.path(tempdir(), "test")
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.