R: Parses and evaluates the R code

evaluate.RspRSourceCode {R.rsp} | R Documentation

## Parses and evaluates the R code

### Description

Parses and evaluates the R code.

### Usage

    ## S3 method for class '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.

### Author(s)

Henrik Bengtsson

### See Also

For more information see `RspRSourceCode`.

[Package R.rsp version 0.41.0 Index]