[Tikzdevice-bugs] pgfSweave and TeX memory limit

Toby Dylan Hocking Toby.Hocking at inria.fr
Thu Mar 18 15:19:20 CET 2010


hi, I'm just getting started to use tikz() and pgfSweave(), and seems
like tikz works great, but I have a couple of questions/problems with
pgfSweave.

First, R CMD pgfsweave file.Rnw doesn't seem to work for me:

~/R/directlabels/tex/test$ R CMD pgfsweave HOCKING-latticedl-semin-r.Rnw 
exec: 62: pgfsweave: not found

Do I need to do something other than install.packages("pgfSweave") for
this functionality?

Second, when using pgfSweave() in R on a big sweave file (attached), I
get this error:

45 : echo term verbatim tikz (label=Group-data-by-car-class)
46 : echo term verbatim tikz (label=Compare-direct-labeling-methods)

You can now run LaTeX on 'HOCKING-latticedl-semin-r.tex'
Error in tools::texi2dvi(paste(fn, "tex", sep = "."), ...) : 
  Running 'texi2dvi' on './HOCKING-latticedl-semin-r.tex' failed.
LaTeX errors:
! TeX capacity exceeded, sorry [main memory size=1500000].
\pgfsyssoftpath at thepath ...path at movetotoken {187.0
                                                  6pt}{64.39pt}
l.4800 ...=0.00,] (187.06, 64.39) circle (  2.41);
                                                  
!  ==> Fatal error occurred, no output PDF file produced!
> 

Is there some way to increase the capacity of TeX? Do I need to recompile?

Thanks for any help,
Toby Dylan Hocking
http://cbio.ensmp.fr/~thocking/


More information about the Tikzdevice-bugs mailing list