powered by
This function create a valid configuration by several input files from user input parameters.
runOsmose( input, parameters = NULL, output = "output", log = "osmose.log", version = "4.1.0", osmose = NULL, java = "java", options = NULL, verbose = TRUE, clean = TRUE )run_osmose( input, parameters = NULL, output = NULL, log = "osmose.log", version = "3.3.3", osmose = NULL, java = "java", options = NULL, verbose = TRUE, clean = TRUE )
run_osmose( input, parameters = NULL, output = NULL, log = "osmose.log", version = "3.3.3", osmose = NULL, java = "java", options = NULL, verbose = TRUE, clean = TRUE )
Filename of the main configuration file
Parameters to be passed to osmose (version 4 or higher).
Output directory. If NULL, the value set in the configuration file is used.
File to save OSMOSE execution messages.
OSMOSE version. Integer (2, 3, etc.) or releases ('v3r2') are accepted.
Path to a OSMOSE .jar executable. By default (NULL), uses the stable jar for the current version.
Path to the java executable. The default assumes 'java' is on the search path.
Java options (e.g. -Xmx2048m to increase memory limit).
Show messages? (output in the log file if FALSE).
TRUE if the output directory should be cleaned before running OSMOSE.
Basic configurations may not need the use of buildConfiguration, but it is required for configuration using interannual inputs or fishing selectivity.
buildConfiguration
# NOT RUN { { # } # NOT RUN { path = cacheManager("gog") filename = file.path(path, "osm_all-parameters.csv") run_osmose(filename) # } # NOT RUN { } # }
Run the code above in your browser using DataLab