scenario_update_paths {irace} | R Documentation |
This function should be used to change the filesystem paths stored in a scenario object. Useful when moving a scenario from one computer to another.
scenario_update_paths(scenario, from, to, fixed = TRUE)
scenario.update.paths(scenario, from, to, fixed = TRUE)
scenario |
( |
from |
character string containing a regular expression (or character
string for |
to |
the replacement string.character string. For |
fixed |
logical. If |
The updated scenario
## Not run:
scenario <- readScenario(filename = "scenario.txt")
scenario <- scenario_update_paths(scenario, from = "/home/manuel/", to = "/home/leslie")
## End(Not run)