setProjectData: Set, get, save or load project data.

Description Usage Arguments

Description

setProjectData Assigns an object to the projectData environment of the project.

getProjectData Gets (a copy of) an object from the projectData environment of the project.

saveProjectData Saves some or all of the objects in the projectData environment of the project to files in the output/r/data directory.

loadProjectData Loads some or all of the objects in the output/r/data directory to the projectData environment of the project.

saveRImage (Old function, kept for backwards compatibility) Saves the contents of the projectData environment of the project (RestoEnv[[projectName]]$projectData).

loadEnv (Old function, kept for backwards compatibility) Loads previously saved data to the projectData environment of the project (RestoEnv[[projectName]]$projectData).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
setProjectData(projectName, var, name = NULL)

getProjectData(projectName, var = NULL)

saveProjectData(projectName, var = "all", ...)

loadProjectData(projectName, var = "all", ow = FALSE, ...)

saveRImage(projectName, var = "all", ...)

loadEnv(projectName, var = "all", ow = FALSE, ...)

Arguments

projectName

The name or full path of the project, a baseline object (as returned from getBaseline or runBaseline, og a project object (as returned from openProject).

var

for setProjectData, a project data object to be assigned to the projectData environment of the project, and for getProjectData, saveProjectData and loadProjectData, a vector of project data names to get from, save to file from, or load from file to the projectData environment, respectively.

name

Only used in setProjectData(). The name of the project data object (such as lastParameters) to assign var to in the projectData environment of the project (overriding the name of the object var). If a specific list element inside name should be set, specify this in '...'.

...

Used for backwards compatibility.

ow

Logical: if TRUE overvrite objects existing in the projectData environment of the project.


Sea2Data/Rstox documentation built on May 14, 2019, 8:58 a.m.