View source: R/SimplaceWrapper.R
resultToList | R Documentation |
Converts all scalar output columns to appropriate R lists. Columns containing arrays are left unchanged, unless expand is TRUE.
resultToList(result, expand = FALSE, from = NULL, to = NULL)
result |
handle to the data container returned by |
expand |
if true columns with arrays are partially expanded |
from |
start of the result range, if to/from are not set, full result is returned |
to |
end of the result range, if to/from are not set, full result is returned |
list with output columns
resultToDataframe
returns the scalar output columns as data.frame
## Not run:
simplace <- initSimplace(SimplaceInstallationDir,SimplaceWorkDir,SimplaceOutputDir)
openProject(simplace, Solution)
parameter <- list(vTempLimit = 32)
simid <- createSimulation(simplace,parameter)
runSimulations(simplace)
closeProject(simplace)
result <- getResult(simplace,"DIAGRAM_OUT", simid);
resultlist <- resultToList(result)
resultlist$CURRENT.DATE
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.