| rsptex {R.rsp} | R Documentation |
Compiles an RSP LaTeX file into a DVI file.
## Default S3 method: rsptex(..., pdf=TRUE, force=FALSE, verbose=FALSE)
... |
Arguments passed to |
pdf |
If |
force |
If |
verbose |
See |
Returns the pathname to the generated document.
By default, the RSP document is processed in a local environment,
which is discarded afterward. This can be avoided by explicitly
specifying the processing environment, e.g.
env <- new.env(); rsptex(..., envir=env).
Afterward you can query its content by, say, ll(envir=env)
or attach its content by attachLocally(env).
Henrik Bengtsson
The generated TeX document is compiled by texi2dvi in
the tools package.
## Not run:
library("R.rsp")
path <- system.file(package="R.rsp")
path <- file.path(path, "rsp_LoremIpsum")
rsptex("LoremIpsum.tex.rsp", path=path)
## End(Not run)