Hello,
I took a look to the new specific manual describing sweave with the latest
2.0.3svn. The pdf export fails on an Rscript error:
<cite>
Running: Rscript --verbose --no-save --no-restore
"/usr/local/share/lyx-2.0.3svn/scripts/lyxsweave.R"
"/tmp/lyx_tmpdir.T21839/lyx_tmpbuf2/""sweave.Rnw"
"/tmp/lyx_tmpdir.T21839/lyx_tmpbuf2/""sweave.tex" ISO-8859-15
"/usr/local/share/lyx-2.0.3svn/examples/"
running
'/usr/lib/R/bin/R --slave --no-restore --no-save --no-restore
--file=/usr/local/share/lyx-2.0.3svn/scripts/lyxsweave.R --args
/tmp/lyx_tmpdir.T21839/lyx_tmpbuf2/sweave.Rnw
/tmp/lyx_tmpdir.T21839/lyx_tmpbuf2/sweave.tex ISO-8859-15'
[1] FALSE
Writing to file /tmp/lyx_tmpdir.T21839/lyx_tmpbuf2/sweave.tex
Processing code chunks ...
1 : term verbatim
2 : echo (label=sweave-sty)
3 : echo keep.source term verbatim (label=setup)
4 : echo keep.source (label=sweave-manual)
5 : echo keep.source term verbatim (label=print-integers)
6 : echo term hide (label=hide-results)
7 : echo term verbatim (label=calculator)
8 : echo term verbatim (label=rnorm)
9 : echo term verbatim (label=iris-summary)
10 : term tex (label=xtable-demo)
Loading required package: xtable
11 : echo term verbatim eps pdf (label=iris-pairs)
Erreur : chunk 11 (label=iris-pairs)
Error in function (file = ifelse(onefile, "Rplots.pdf", "Rplot%03d.pdf"), :
impossible de démarrer le périphérique pdf
De plus : Messages d'avis :
1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return
= TRUE, :
there is no package called 'xtable'
2: In function (file = ifelse(onefile, "Rplots.pdf", "Rplot%03d.pdf"), :
impossible d'ouvrir le fichier en argument de 'pdf' 'Rplots.pdf'
Exécution arrêtée
Systemcall.cpp(270): Systemcall: 'Rscript --verbose --no-save --no-restore
"/usr/local/share/lyx-2.0.3svn/scripts/lyxsweave.R"
"/tmp/lyx_tmpdir.T21839/lyx_tmpbuf2/""sweave.Rnw"
"/tmp/lyx_tmpdir.T21839/lyx_tmpbuf2/""sweave.tex" ISO-8859-15
"/usr/local/share/lyx-2.0.3svn/examples/"' finished with exit code 1
Error: Conversion du fichier impossible
</cite>
I installed R and related packages on my Debian box (Squeeze, R version 2.11).
While updating fr.po for 2.0.3, I saw something about a requirement for R
version >=2.14.
Is that the reason of failure ?
--
Jean-Pierre