[R] Problem with figures

Yihui Xie xie at yihui.name
Mon Dec 3 18:23:19 CET 2012


I'm using the latest version of TeXLive under Ubuntu
(http://packages.ubuntu.com/quantal/tex/texlive) so I did not realize
the version of standalone can be a problem. My version is also 1.1a,
but I do not have any problems if I remove the preview option from
your example. Sounds like there is a subtle difference somewhere
between your Debian TeXLive and my Ubuntu TeXLive...

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA


On Mon, Dec 3, 2012 at 9:29 AM, Shige Song <shigesong at gmail.com> wrote:
> All right. I did some more digging. It turns out that the real problem is
> that the version of the "standalone" LaTeX package installed on my Debian
> system is 1.1a. The easiest fix is to replace the three files
> "standalone.cfg", "standalone.cls", and "standalone.sty" with the most
> recent version from CTAN, which is 1.1b. Now I use
> "\documentclass[preview]{standalone}" in my Rnw file to get the desired
> results.
>




More information about the R-help mailing list