[R] sweave and lessR
Duncan Murdoch
murdoch.duncan at gmail.com
Sun Dec 16 20:54:52 CET 2012
On 12-12-16 12:42 PM, Scott Cushman wrote:
>
> Hello
>
> I am using sweave with the Density() function from lessR package. However, unlike the older color.density() function, Density() does not work with
> the standard graphic output functions in R, such as pdf. Is there away to include figures fgenerated rom lessR in sweave documents?
Tell Density to write to "foo.pdf", then just use \includegraphics{foo}
in your Sweave document. (This assumes you're using pdflatex; it looks
as though you can't do it at all if you can't handle PDF figures.)
Duncan Murdoch
More information about the R-help
mailing list