R: Parses the RSP string

parse.RspParser {R.rsp} | R Documentation

## Parses the RSP string

### Description

Parses the RSP string with RSP comments dropped.

### Usage

    ## S3 method for class 'RspParser'
    parse(parser, object, envir=parent.frame(), ..., until=c("*", "end", "expressions",
      "directives", "comments"), as=c("RspDocument", "RspString"), verbose=FALSE)

### Arguments

`object` | An `RspString` to be parsed.
`envir` | The `environment` where the RSP document is preprocessed.
`...` | Passed to the processor in each step.
`until` | Specifies how far the parse should proceed, which is useful for troubleshooting and rebugging.
`as` | Specifies in what format the parsed RSP document should be returned.
`verbose` | See `Verbose`.

### Value

Returns a `RspDocument` (when `as = "RspDocument"`; default) or `RspString` (when `as = "RspString"`).

### Author(s)

Henrik Bengtsson

### See Also

For more information see `RspParser`.

[Package R.rsp version 0.41.0 Index]