| 1 |
\name{cairoSwd} |
| 2 |
\alias{cairoSwd} |
| 3 |
\title{Cairo PDF Graphics Device useful for Sweave} |
| 4 |
\description{ |
| 5 |
Provides a graphics device for Sweave, based on |
| 6 |
\code{\link{cairo_pdf}}. The advantage of \code{cairoSwd()} compared |
| 7 |
to \code{\link{pdf}()} is its support of Unicode characters. |
| 8 |
} |
| 9 |
\usage{ |
| 10 |
cairoSwd(name, width, height, ...) |
| 11 |
} |
| 12 |
\arguments{ |
| 13 |
\item{name}{file name prefix to which \file{.pdf} will be appended.} |
| 14 |
\item{width, height}{in inches, see \code{\link{cairo_pdf}}.} |
| 15 |
|
| 16 |
\item{\dots}{further arguments, passed to \code{\link{cairo_pdf}()}} |
| 17 |
} |
| 18 |
\note{ |
| 19 |
Sweave devices need to have an argument list as above. |
| 20 |
|
| 21 |
Usage in a Sweave chunk: |
| 22 |
\preformatted{ |
| 23 |
<<some-plot, fig=TRUE, grdevice=cairoSwd>>= |
| 24 |
} |
| 25 |
} |
| 26 |
\author{Alain Hauser} |
| 27 |
%% \details{ |
| 28 |
%% } |
| 29 |
%% \references{ |
| 30 |
%% } |
| 31 |
\seealso{ |
| 32 |
\code{\link{pdf}}, \code{\link{cairo_pdf}}, \code{\link{Sweave}}. |
| 33 |
} |
| 34 |
%% \examples{ |
| 35 |
%% } |
| 36 |
\keyword{device} |
| 37 |
|