Learn R Programming

R.rsp (version 0.46.0)

preprocess.RspDocument: Processes all RSP preprocessing directives

Description

Processes all RSP preprocessing directives.

Usage

# S3 method for RspDocument
preprocess(object, recursive=TRUE, flatten=TRUE, envir=parent.frame(),
  clipboard=new.env(), ..., verbose=FALSE)

Value

Returns an RspDocument.

Arguments

recursive

If TRUE, any RspDocuments introduced via preprocessing directives are recursively parsed and preprocessed as well.

flatten

If TRUE, any RspDocument introduced is replaced (inserted and expanded) by its list of RspConstructs.

envir

The environment where the preprocessing is evaluated.

clipboard

An environment hold cut'n'paste directives during preprocessing.

...

Not used.

verbose

See Verbose.

Author

Henrik Bengtsson

See Also

For more information see RspDocument.