Compiles an RSP LaTeX file into a DVI file

Description

Compiles an RSP LaTeX file into a DVI file.

Usage

1
2
## Default S3 method:
rsptex(..., pdf=TRUE, force=FALSE, verbose=FALSE)

Arguments

...

Arguments passed to compileRsp0().

pdf

If TRUE, a PDF is generated, otherwise a DVI file.

force

If TRUE, file timestamps are ignored.

verbose

See Verbose.

Value

Returns the pathname to the generated document.

Retrieving intermediate and final results

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).

Author(s)

Henrik Bengtsson

See Also

The generated TeX document is compiled by texi2dvi in the tools package.

Examples

1
2
3
4
5
6
7
8
## 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)

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