On Sun, Apr 3, 2011 at 10:50 PM, Julien Rioux <jri...@physics.utoronto.ca> wrote: > Here I don't get your file to compile. I need to install something else to > get Cairo? > Yes. In R run: install.packages('Cairo', dep=T)
If it fails, you also need to install libcairo2-dev (I think). Otherwise look at [1] for instructions. [1] http://www.rforge.net/Cairo/ Liviu > 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 > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail