Commit f8e436d9 authored by Chris Lamb's avatar Chris Lamb 💬

Use Rscript's --vanilla option over --no-environ as this also enables ...

Use Rscript's --vanilla option over --no-environ as this also enables  --no-save, --no-restore, --no-site-file and --no-init-file.
parent 07a013f8
......@@ -109,7 +109,7 @@ class RdsReader(Command):
def cmdline(self):
return [
'Rscript',
'--no-environ',
'--vanilla',
'-e',
'args <- commandArgs(TRUE); readRDS(args[1])',
self.path,
......@@ -138,7 +138,7 @@ class RdbReader(Command):
@tool_required('Rscript')
def cmdline(self):
return ['Rscript', '--no-environ', '-', self.path]
return ['Rscript', '--vanilla', '-', self.path]
def input(self):
return DUMP_RDB
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment