Skip to content
Snippets Groups Projects
Commit f8e436d9 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment