[R] simplest pgfSweave example results in error

syrvn mentor_ at gmx.net
Fri Sep 30 01:21:51 CEST 2011

Hi Yihui,

thank you very much for your answer.

Just before I read your reply I deleted my basicTex and installed the full
MacTex on my system.
When I compile my .Rnw file I finally get a compiled PDF file. Nevertheless,
R outputs the following error message:

Not regenerating makefile for externalization, if your figures have changed,
remove /XXXX/test2.makefile and recompile.
Error in tools::texi2dvi(paste(fn, "tex", sep = "."), pdf = pdf, ...) : 
  Running 'texi2dvi' on '/XXXXX/test2.tex' failed.
In addition: Warning message:
'DESCRIPTION' file has 'Encoding' field and re-encoding is not possible 

It sounds a bit odd to me because in Eclipse I use the function:

Build tex file using the Eclipse/Texclipse configuration:

output format: PDF, build commands: pdflatex

Now I am wondering why R runs texi2dvi at all?

Referring to your answer. If I include or exclude \usepackage{tikz} does not
make a difference.
I get the same error message.

Best regards,

View this message in context: http://r.789695.n4.nabble.com/simplest-pgfSweave-example-results-in-error-tp3856628p3858091.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list