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

Don't read the R site and user environment when comparing .rdx, .rdb or .rds files.

parent ea4c94a7
......@@ -87,6 +87,7 @@ class RdsReader(Command):
def cmdline(self):
return [
'args <- commandArgs(TRUE); readRDS(args[1])',
......@@ -113,7 +114,7 @@ class RdsFile(File):
class RdbReader(Command):
def cmdline(self):
return ['Rscript', '-e', DUMP_RDB, self.path]
return ['Rscript', '--no-environ', '-e', DUMP_RDB, self.path]
class RdbFile(File):
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