switches <- c("--switch1 ", "--switch2 ")
values <- c("value_1", "value_2")
buildCommandLine (values, switches)
## Build commandlines from the results produced by a previous run of
## irace.
# First, load the data produced by irace.
load("irace.Rdata")
attach(tunerResults)
apply(allCandidates[1:10, unlist(parameters$names)], 1, buildCommandLine,
unlist(parameters$switches))Run the code above in your browser using DataLab