[R] How to include a vignette with my package?

Duncan Murdoch murdoch at stats.uwo.ca
Mon Apr 7 03:49:04 CEST 2008


François Aucoin wrote:
> I want to include a vignette with a package I wrote.  I did follow the
> "Writting R extentions" document step by step, but went I run "Rcmd build",
> an error occurs.   It goes like this:
>
> "
> * creating vignettes ... ERROR
> .
> .
> .
> .
> :7: Emergency stop
> L7L ==> Fatal error occurred, no output PDF file produced!texify: pdflatex
> failed for some reason <see log file>.
> buildVignettes<dir ='. '>
> Error in texi2dvi<fil =bft,pdf =TRUE, clean =FALSE, quiet = quiest > :
>  running 'texi2dvi' on "test.tex' failed
> Calls : buildVignettes -> texi2dvi
> Execution halted

I would guess that the script couldn't find LaTeX (more specifically, 
pdflatex).  You may need to install it, or at least add it to your path.

Duncan Murdoch



More information about the R-help mailing list