View source: R/run_javastics.R
run_javastics | R Documentation |
This function uses basically Stics through his JavaStics command line interface
run_javastics(
javastics,
workspace = NULL,
usm = NULL,
keep_history = TRUE,
optim = FALSE,
verbose = TRUE,
stics_exe = "modulostics",
java_cmd = "java",
javastics_path = lifecycle::deprecated(),
workspace_path = lifecycle::deprecated(),
usms_list = lifecycle::deprecated()
)
stics_exe
may be :
a model name pointing to a stics executable as done in JavaStics, e.g.
"modulostics" for stics_modulo.exe
, the standard version of the model
shipping with JavaStics;
a stics executable file available from the bin folder in JavaStics, e.g. "stics_modulo.exe";
a path to a stics executable file, eg.
"C:/Users/username/Desktop/stics.exe". NB: this file cannot be named
stics_modulo.exe
because it is the name of the standard STICS shipping
with JavaStics (overwriting is not allowed).
A list in which each element contains: usm "name", "error" status (logical) and an output "message" (JavaStics commandline execution output)
## Not run:
run_javastics("/path/to/JavaSTICS/folder", "example")
run_javastics("/path/to/JavaSTICS/folder", "/path/to/workspace")
run_javastics("/path/to/JavaSTICS/folder", "example", c("wheat", "pea"))
run_javastics("/path/to/JavaSTICS/folder", usm = c("wheat", "pea"))
run_javastics("/path/to/JavaSTICS/folder",
usm = c("wheat", "pea"), optim = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.