Learn R Programming

R.rsp (version 0.43.1)

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)

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.

Value

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

See Also

For more information see RspParser.