read_solution | R Documentation |
The function and method read outputs of solved model/scenario and return the scenario object populated with variables data.
read_solution(obj, ...)
## S4 method for signature 'scenario'
read(obj, ...)
obj |
scenario object |
... |
optional tmp.dir (if missing in the scenario object or to replace the saved path) |
The function returns the scenario object with populated modOut slot from the solved model directory.
solve()
to run the script, solve the scenario. write_sc()
to read
## Not run:
scen <- read(scen)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.