parseRsp {R.rsp}R Documentation

Parse an RSP code string to an R RSP code string

Description

Parse an RSP code string to an R RSP code string.

Usage

## Default S3 method:
parseRsp(rspCode, rspLanguage=getOption("rspLanguage"), trimRsp=TRUE, validate=TRUE,
  verbose=FALSE, ...)

Arguments

rspCode

A character vector of RSP code to parsed.

rspLanguage

An RspLanguage object.

trimRsp

If TRUE, white space is trimmed from RSP blocks.

validate

If TRUE, the parsed RSP code is validated through the R parser.

verbose

Either a logical, a numeric, or a Verbose object specifying how much verbose/debug information is written to standard output. If a Verbose object, how detailed the information is is specified by the threshold level of the object. If a numeric, the value is used to set the threshold of a new Verbose object. If TRUE, the threshold is set to -1 (minimal). If FALSE, no output is written. [Currently not used.]

...

Not used.

Value

Returns a character string of R source code.

Author(s)

Henrik Bengtsson

See Also

sourceRsp().


[Package R.rsp version 0.30.0 Index]