Gets RSP arguments of an RSP document

Share:

Description

Gets RSP arguments of an RSP document, if any.

Usage

1
2
## Default S3 method:
rargs(...)

Arguments

...

Arguments passed to rcompile().

Details

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

Value

Returns a data.frame of class 'RspArguments'.

Author(s)

Henrik Bengtsson

See Also

rfile().

Examples

1
2
3
4
5
path <- system.file("doc", package="R.rsp")
print(path)
print(dir(path=path))
args <- rargs(file="RSP_refcard.tex.rsp", path=path)
print(args)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.