msAssign: Utility functions for maintaining pipeline processing...

Description Usage Arguments Value See Also Examples

Description

For mutual compatibility in S-PLUS and R, these functions switch on is.R as an interface to the assign, exists, get, and remove functions. In addition, the msGlobalEnv function outputs the environment in R and frame in S-PLUS associated with the global work environment and session database, respectively. The msNewEnv returns the integer 1 in S-PLUS (for frame 1, the expression frame) or a new environment in R (ala new.env).

Usage

1
2
3
4
5
6
msAssign(x, value, envir)
msExists(x, envir)
msGet(x, envir)
msGlobalEnv()
msNewEnv()
msRemove(x, envir)

Arguments

x

a character string denoting the name of the object.

value

any S-PLUS or R object; the value to be assigned the name in x. Only used in the msAssign function.

envir

the frame in S-PLUS (or environment in R) designated for the processing and storage of pipeline history data. Default: msProcessEnv, a global environment impicitly set by a previous call to throwEvent. In general, the user should rely on the specified default value.

Value

the standard output of the related functions as described in the Description section.

See Also

assign, exists, get, remove.

Examples

1
2
3
4
5
6
7
8
envir <- msGlobalEnv()
x <- "myval"

msAssign(x, 1:10, envir)
msExists(x, envir)
msGet(x, envir)
msRemove(x, envir)
msExists(x, envir)

zeehio/msProcess documentation built on May 4, 2019, 10:15 p.m.