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,                  [EMAIL PROTECTED]
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

Reply via email to