R.rsp (version 0.43.1)

evaluate.RspRSourceCode: Parses and evaluates the R code

Description

Parses and evaluates the R code.

Usage

# S3 method for RspRSourceCode
evaluate(object, envir=parent.frame(), args="*", output=c("RspStringProduct", "stdout"),
  ..., verbose=FALSE)

Arguments

envir

The environment in which the RSP string is evaluated.

args

A named list of arguments assigned to the environment in which the RSP string is parsed and evaluated. See cmdArgs.

output

A character string specifying how the RSP output should be handled/returned.

...

Not used.

Value

If output="stdout", then NULL is returned and the RSP output is sent to the standard output. This is output is "non-buffered", meaning it will be sent to the output as soon as it is generated. If output="RspStringProduct", then the output is captured and returned as an RspStringProduct with attributes set.

See Also

For more information see RspRSourceCode.