Learn R Programming

R.rsp (version 0.46.0)

rargs: Gets RSP arguments of an RSP document

Description

Gets RSP arguments of an RSP document, if any.

Usage

# S3 method for default
rargs(...)

Value

Returns a data.frame of class 'RspArguments'.

Arguments

...

Arguments passed to rcompile().

Author

Henrik Bengtsson

Details

Any RSP preprocessing variable with an 'description' attribute is considered to be an RSP argument.

See Also

rfile().

Examples

Run this code
path <- system.file("rsp_examples", package="R.rsp")
args <- rargs(file="LoremIpsum.tex.rsp", path=path)
print(args)


Run the code above in your browser using DataLab