irace (version 3.1)

irace.cmdline: irace.cmdline

Description

irace.cmdline starts irace using the parameters of the command line used to invoke R.

Usage

irace.cmdline(args = commandArgs(trailingOnly = TRUE))

Arguments

args

commandArgs(trailingOnly = TRUE) The arguments provided on the R command line as a character vector, e.g., c("--scenario", "scenario.txt", "-p", "parameters.txt"). Using the default value (not providing the parameter) is the easiest way to call irace.cmdline.

Value

None.

Details

The function reads the parameters given on the command line used to invoke R, finds the name of the scenario file, initializes the scenario from the file (with the function readScenario) and possibly from parameters passed on the command line. It finally starts irace by calling irace.main.

See Also

irace.main to start irace with a given scenario.