Render a DVI file in R graphics.
dviGrob(dvi, ...)
# S3 method for character
dviGrob(dvi, ...)
# S3 method for DVI
dviGrob(dvi, ...,
packages=NULL,
engine=getOption("xdvir.engine"))
# S3 method for list
dviGrob(dvi, x = 0.5, y = 0.5,
margin=0, rot=0,
default.units = "npc",
hjust="centre", vjust="centre",
dpi=NA,
page=1,
packages=NULL,
engine=getOption("xdvir.engine"),
fontLib=getOption("xdvir.fontLib"),
...,
name=NULL,
gp=gpar(),
vp=NULL)
grid.dvi(...)
render(...)
A "DVIgrob"
object.
A "DVI"
object, as produced by
readDVI
, or a "DVIfile"
object, as produced by
typeset
, or the name of a DVI file, or a list
containing some combination of all three.
Numeric values or units specifying where to draw the output.
Numeric values or units specifying margins (in the order bottom, left, top, right). Recycled if necessary.
Rotation angle (in degrees).
Units to use if x
or y
are
numeric.
Justification of the output relative to the
x
/y
location.
Resolution (dots per inch) for rendering.
Which page should be drawn.
The TeX engine that should be used to render the DVI file (see Details).
The font libraary the should be used to query fonts and glyphs.
The LaTeX packages to be used in rendering the DVI.
Character value giving name for the grob.
Graphical parameter settings.
A viewport or NULL
.
Arguments specific to methods of dviGrob
.
Paul Murrell
If the engine
is NULL
(the default), one is chosen based
on the engine attribute of the dvi
input (if an engine
of that name has been registered).
If the engine
is specified, but does not match the engine
attribute of the dvi
then, if the dvi
engine was
guessed the engine
will be used, otherwise the conflict will
result in an error.
render()
is an alias for grid.dvi()
.
readDVI
,
LaTeXpackage
.