On Thu, 2 Jul 2015, Rich Shepard wrote:
2.) If the document suffix is supposed to be .Rnw rather than .lyx, how do
I open the .Rnw version in LyX since the menu allows only files with the
.lyx suffix?
Here's the view of the attempt to compile the document:
14:27:48.984: Exporting ...
14:27:48.993: (buffer-export pdf2)
14:27:49.009: Rscript --verbose --no-save --no-restore
"/usr/share/lyx/scripts/lyxsweave.R"
"/tmp/lyx_tmpdir.EhPAAYP14197/lyx_tmpbuf4/""water-chemistry-analyses.Rnw"
"/tmp/lyx_tmpdir.EhPAAYP14197/lyx_tmpbuf4/""water-chemistry-analyses.tex"
ISO-8859-15 "/home/rshepard/documents/white-papers/water-chem-anal/"
14:27:49.014: running
14:27:49.016: '/usr/lib/R/bin/R --slave --no-restore --no-save
--no-restore --file=/usr/share/lyx/scripts/lyxsweave.R --args
-- /tmp/lyx_tmpdir.EhPAAYP14197/lyx_tmpbuf4/water-chemistry-analyses.Rnw
-- / /tmp/lyx_tmpdir.
14:27:49.018: EhPAAYP14197/lyx_tmpbuf4/water-chemistry-analyses.tex
ISO-8859-15 /home/rshepard/documents/white-papers/water-chem-anal/'
14:27:49.022:
14:27:49.437: Loading required package: methods
14:27:49.452: Loading required package: survival
14:27:49.455: Loading required package: graphics
14:27:49.465: Loading required package: stats
14:27:49.663:
14:27:49.664: Attaching package: ‘NADA’
14:27:49.666:
14:27:49.668: The following object is masked from ‘package:stats’:
14:27:49.671:
14:27:49.673: cor
14:27:49.675:
14:27:49.710:
14:27:49.711: Attaching package: ‘zoo’
14:27:49.713:
14:27:49.715: The following objects are masked from ‘package:base’:
14:27:49.717:
14:27:49.719: as.Date, as.Date.numeric
14:27:49.721:
14:27:49.795: Warning message:
14:27:49.796: running command 'kpsewhich Sweave.sty 2>/dev/null' had status
1
14:27:49.804: Writing to file
/tmp/lyx_tmpdir.EhPAAYP14197/lyx_tmpbuf4/water-chemistry-analyses.tex
14:27:49.805: Processing code chunks with options ...
14:27:49.815: 1 : keep.source term verbatim
(water-chemistry-analyses.Rnw:21)
14:27:49.824:
14:27:49.826: You can now run (pdf)latex on
‘/tmp/lyx_tmpdir.EhPAAYP14197/lyx_tmpbuf4/water-chemistry-analyses.tex’
14:27:49.843: pdflatex "water-chemistry-analyses.tex"
14:27:49.898: This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013
on Slackware (SlackBuilds.org))
14:27:49.900: restricted \write18 enabled.
14:27:49.914: entering extended mode
14:27:49.916: (./water-chemistry-analyses.tex
14:27:49.919: LaTeX2e <2011/06/27>
14:27:49.921: Babel <3.9f> and hyphenation patterns for 78 languages loaded.
14:27:49.923:
14:27:50.089: Error while exporting format: PDF (pdflatex)Systemcall.cpp
(292): Systemcall: 'pdflatex "water-chemistry-analyses.tex"' finished with
exit code 1
14:28:07.706: Automatic save done.
HTH,
Rich