scenario_update_paths {irace} | R Documentation |
Update filesystem paths of a scenario consistently.
Description
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.
Usage
scenario_update_paths(scenario, from, to, fixed = TRUE)
scenario.update.paths(scenario, from, to, fixed = TRUE)
Arguments
scenario |
( |
from |
character string containing a regular expression (or character
string for |
to |
the replacement string.character string. For |
fixed |
logical. If |
Value
The updated scenario
See Also
Examples
## Not run:
scenario <- readScenario(filename = "scenario.txt")
scenario <- scenario_update_paths(scenario, from = "/home/manuel/", to = "/home/leslie")
## End(Not run)
[Package irace version 3.5 Index]