[R] trouble with \SweaveOpts{grdevice=...}

2011-04-14 Thread Liviu Andronic
Dear all I've just tried the brand new 'grdevice' option in Sweave but couldn't make it work. When I declare \SweaveOpts{grdevice=pdf} or \SweaveOpts{grdevice=cairo_pdf} trying to plot something simple fig=T, echo=T= plot(1:10,1:10,main='Some title') @ would result in an Sweave error:

Re: [R] trouble with \SweaveOpts{grdevice=...}

2011-04-14 Thread Duncan Murdoch
On 11-04-14 12:29 PM, Liviu Andronic wrote: Dear all I've just tried the brand new 'grdevice' option in Sweave but couldn't make it work. When I declare \SweaveOpts{grdevice=pdf} or \SweaveOpts{grdevice=cairo_pdf} trying to plot something simple fig=T, echo=T= plot(1:10,1:10,main='Some title')