]> git.lyx.org Git - features.git/blobdiff - lib/configure.py
Do not use the --vanilla option of Rscript, since it can
[features.git] / lib / configure.py
index 23766eb4b120018452d7cd3aadf8d24c1def7300..0eed65206ecd9880ad8ad16369fcdc4ada19145f 100644 (file)
@@ -626,7 +626,7 @@ def checkConverterEntries():
         rc_entry = [r'''\converter literate   latex      "%%"  ""
 \converter literate   pdflatex      "%%"       ""'''])
     #
-    checkProg('a Sweave -> LaTeX converter', ['Rscript --vanilla $$s/scripts/lyxsweave.R $$i $$e'],
+    checkProg('a Sweave -> LaTeX converter', ['Rscript --no-save --no-restore $$s/scripts/lyxsweave.R $$i $$e $$r'],
         rc_entry = [r'''\converter sweave   latex      "%%"    ""
 \converter sweave   pdflatex      "%%" ""'''])
     #