Re: [Rd] * creating vignettes ... ERROR

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Mon 24 Jan 2005 - 22:45:08 EST

Is the error here perchance

/tmp/svmdoc.tex:87: LaTeX Error: File `svm' not found?

in svmdoc.log? If so, the problem is in graphics inclusion paths.

On my system both pdflatex and pdfelatex work, but you do have to be careful with etex paths.

On Mon, 24 Jan 2005, [UTF-8] Philippe Hupé wrote:

> Achim Zeileis a écrit :
>
>> Philippe,
>>
>> I just talked to Uwe to properly understand the problem. Is it correct
>> that the vignette gets correctly compiled to a pdf and that only the R
>> CMD build script claims that there has been an error and then
>> terminates?
>>
>> Could you please try the following: go into the inst/doc directory of
>> your e1071 copy and try there
>> R> Sweave("svmdoc.Rnw")
>> R> texi2dvi("svmdoc.tex", pdf = TRUE)
>> Does that work properly?
>>
> Thanks all of you for your answer.
>
>
> running Sweave and texi2dvi directly in R leads to the same error:
>
> ALGARVE> Sweave("svmdoc.Rnw")
> Writing to file svmdoc.tex
> Processing code chunks ...
> 1 : echo term verbatim
> 2 : echo term verbatim
> 3 : echo term verbatim
> 4 : echo term verbatim
> 5 : term tex
> 6 : echo term verbatim
> 7 : term tex
>
> You can now run LaTeX on svmdoc.tex
> ALGARVE> texi2dvi("svmdoc.tex", pdf = TRUE)
> /usr/lib/R/bin/texi2dvi: pdflatex exited with bad status, quitting.
> /usr/lib/R/bin/texi2dvi: see svmdoc.log for errors.
> Error in texi2dvi("svmdoc.tex", pdf = TRUE) :
> running texi2dvi on svmdoc.tex failed
> ALGARVE>
>
>
> The tex file is well generated. Running latex on this file (Sweave.sty is in
> my latex path) build the dvi file correctly.

Well, it should not as svm.pdf is not a valid graphics files for .dvi.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Received on Mon Jan 24 23:28:43 2005

This archive was generated by hypermail 2.1.8 : Tue 25 Jan 2005 - 01:23:31 EST