lib/rbbt/util/R.rb in rbbt-util-5.21.74 vs lib/rbbt/util/R.rb in rbbt-util-5.21.75
- old
+ new
@@ -38,16 +38,16 @@
end
Log.debug{"R Script:\n#{ cmd }"}
if monitor
- io = CMD.cmd('R --quiet', options.merge(:in => cmd, :pipe => true, :log => true))
+ io = CMD.cmd('R --no-save --quiet', options.merge(:in => cmd, :pipe => true, :log => true))
while line = io.gets
puts line
end
nil
else
- CMD.cmd('R --slave --quiet', options.merge(:in => cmd))
+ CMD.cmd('R --slave --no-save --quiet', options.merge(:in => cmd))
end
end
def self.interactive(script, options = {})
TmpFile.with_file do |init_file|