evaluate.RspShSourceCode
From R.rsp v0.43.2
by Henrik Bengtsson
Evaluates the shell (sh) code
Evaluates the shell (sh) code.
Usage
# S3 method for 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. SeecmdArgs
.- 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
.
Community examples
Looks like there are no examples yet.