On 03/04/2011 3:10 PM, Liviu Andronic wrote:
The subject is a bit misleading: the error pops up but the file
compiles and the PDF is generated as expected. And I was getting this
message only after I stuck together Romanian, Russian and Greek chars
(which is a lot!).
Unfortunately, after a LyX restart I cannot reproduce the issue,
although I still saved a screen shot of the error. I post it in case
it's important. To compile the document use r38201 and see #7348.
Regards
Liviu
Here I don't get your file to compile. I need to install something else
to get Cairo?
running
'/usr/lib/R/bin/R --slave --no-restore --no-save --no-restore
--file=/usr/local/share/lyx-devel/scripts/lyxsweave.R --args
/tmp/lyx_tmpdir.T27347/lyx_tmpbuf0/sweave-xetex.Rnw
/tmp/lyx_tmpdir.T27347/lyx_tmpbuf0/sweave-xetex.tex UTF-8'
Writing to file /tmp/lyx_tmpdir.T27347/lyx_tmpbuf0/sweave-xetex.tex
Processing code chunks ...
1 : term verbatim
2 : echo term verbatim
3 : echo term hide
Loading required package: Cairo
Error: chunk 3
Error in eval(expr, envir, enclos) : could not find function "Cairo"
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE, :
there is no package called 'Cairo'
Execution halted
Systemcall.cpp(238): Systemcall: 'Rscript --verbose --no-save
--no-restore "/usr/local/share/lyx-devel/scripts/lyxsweave.R"
"/tmp/lyx_tmpdir.T27347/lyx_tmpbuf0/""sweave-xetex.Rnw"
"/tmp/lyx_tmpdir.T27347/lyx_tmpbuf0/""sweave-xetex.tex" UTF-8
"/home/jrioux/Dropbox/extensions/lyx/xetex/"' finished with exit code 1
Error: Cannot convert file
----------------------------------------
An error occurred while running:
Rscript --verbose --no-save --no-restore
"/usr/local/share/lyx-devel/scripts/lyxsweave.R"
"/tmp/lyx_tmpdir.T27347/lyx_tmpbuf0/""sweave-xetex.Rnw"
"/tmp/lyx_tmpdir.T27347/lyx_tmpbuf0/""sweave-xetex.tex" UTF-8
"/home/jrioux/Dropbox/extensions/lyx/xetex/"
--
Julien