R.rsp (version 0.42.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(...)

Arguments

...

Arguments passed to rcompile().

Value

Returns a data.frame of class 'RspArguments'.

Details

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

See Also

rfile().

Examples

Run this code
# NOT RUN {
path <- system.file("doc", package="R.rsp")
print(path)
print(dir(path=path))
args <- rargs(file="RSP_refcard.tex.rsp", path=path)
print(args)

# }

Run the code above in your browser using DataCamp Workspace