Learn R Programming

R.rsp (version 0.46.0)

parseRaw.RspParser: Parses the string into blocks of text and RSP

Description

Parses the string into blocks of text and RSP.

Usage

# S3 method for RspParser
parseRaw(parser, object, what=c("comment", "directive", "expression"), commentLength=-1L,
  ..., verbose=FALSE)

Value

Returns a named list with elements named "text" and "rsp".

Arguments

object

An RspString to be parsed.

what

A character string specifying what type of RSP construct to parse for.

commentLength

Specify the number of hyphens in RSP comments to parse for.

...

Not used.

verbose

See Verbose.

Author

Henrik Bengtsson

See Also

For more information see RspParser.