R.rsp (version 0.21.0)

evaluate.RspShSourceCode: Evaluates the shell (sh) code

Description

Evaluates the shell (sh) code.

Usage

## S3 method for class 'RspShSourceCode':
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.
...
Optional arguments passed to eval().

Value

  • If output="stdout", then NULL is returned and the RSP output is sent to the standard output. Note that this is output is "buffered", meaning it will be sent to standard output upon completion. This is a limitation of R. If output="RspStringProduct", then the output is captured and returned as an RspStringProduct with attributes set.

See Also

For more information see RspShSourceCode.