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