resultToList {simplace} | 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() parameter$vTempLimit <- 32 createSimulation(simplace,parameter) runSimulations(simplace) simulationlist <-getSimulationIDs(simplace) result <- getResult(simplace,"DIAGRAM_OUT", simulationlist[[1]]); closeProject(simplace) resultlist <- resultToList(result) resullist$CURRENT.DATE ## End(Not run)