Function to run the 'JWSACruncher' on a workspace from a parameter file.
Usage
cruncher(
workspace,
cruncher_bin_directory = getOption("cruncher_bin_directory"),
param_file_path,
log_file = NULL
)
Arguments
- 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
"cruncher_bin_directory"
is used.- 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.
See also
Around the 'JWSACruncher': cruncher_and_param()
, update_workspace()
.
To create the parameter file: create_param_file()
and list2param_file()
.
Examples
if (FALSE) { # \dontrun{
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"))
} # }