cairoSwd | R Documentation |
Provides a graphics device for Sweave, based on
cairo_pdf
. The advantage of cairoSwd()
compared
to pdf()
is its support of Unicode characters.
cairoSwd(name, width, height, ...)
name |
file name prefix to which ‘.pdf’ will be appended. |
width , height |
in inches, see |
... |
further arguments, passed to |
Sweave devices need to have an argument list as above.
Usage in a Sweave chunk:
<<some-plot, fig=TRUE, grdevice=cairoSwd>>=
Alain Hauser
pdf
, cairo_pdf
, Sweave
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.