cruncher | R Documentation |
Function to run the 'JWSACruncher' on a workspace from a parameter file.
cruncher(
workspace,
cruncher_bin_directory = getOption("cruncher_bin_directory"),
param_file_path,
log_file = NULL
)
workspace |
Path to the workspace. By default a dialog box opens to choose the workspace. |
cruncher_bin_directory |
Path to the "bin" directory of the 'JWSACruncher'. By default
the value of the option |
param_file_path |
Path to the parameter file of the 'JWSACruncher'. By default a .params file is search in the save directory of the workspace. |
log_file |
Name of the log file of 'JWSACruncher'. By default the log isn't exported. |
The path to the workspace.
Around the 'JWSACruncher': cruncher_and_param()
, update_workspace()
.
To create the parameter file: create_param_file()
and list2param_file()
.
## Not run:
dir = tempdir()
# First create a parameter file
# here a file parameters.param is created in the directory dir
# with default parameters of 'JWSACruncher' v2
list2param_file(dir, default_param_file(v3 = FALSE))
# If the option "cruncher_bin_directory" is correctly defined:
cruncher("workspace.xml",
param_file_path = file.path(dir, "parameters.param"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.