RScript
RScript.Rd
Class representing a PetroVisor R script object.
Public fields
name
The name of the script.
content
The script's content as string.
isLocked
This flag specifies whether the script is locked. Defaults to
FALSE
.user
The user the script belongs to.
isFavorite
This flag specifies whether the script is marked as favorite item, and thus shown in the favorites tab on the home module in PetroVisor. Defaults to
FALSE
.labels
A list of strings holding the labels of the script.
Methods
Method new()
Create a new R script instance.
Usage
RScript$new(
name = NULL,
content = NULL,
isLocked = FALSE,
user = NULL,
isFavorite = FALSE,
labels = NULL
)
Arguments
name
The name of the script.
content
The script's content as string.
isLocked
This flag specifies whether the script is locked. Defaults to
FALSE
.user
The user the script belongs to.
isFavorite
This flag specifies whether the script is marked as favorite item, and thus shown in the favorites tab on the home module in PetroVisor. Defaults to
FALSE
.labels
A list of strings holding the labels of the script.