lib/rbbt/util/R.rb in rbbt-util-5.28.10 vs lib/rbbt/util/R.rb in rbbt-util-5.28.11

- old
+ new

@@ -39,21 +39,21 @@ Log.debug{"R Script:\n#{ cmd }"} if monitor #io = CMD.cmd('R --no-save --quiet', options.merge(:in => cmd, :pipe => true, :log => true)) - io = CMD.cmd('R --no-save --quiet', options.merge(:in => cmd, :pipe => true, :log => true)) + io = CMD.cmd('R --no-save --quiet', options.merge(:in => cmd, :pipe => true, :log => true, :xvfb => true)) while line = io.gets case monitor when Proc monitor.call line else Log.debug "R: " << line end end nil else - CMD.cmd('R --no-save --slave --quiet', options.merge(:in => cmd)) + CMD.cmd('R --no-save --slave --quiet', options.merge(:in => cmd, :xvfb => true)) end end def self.interactive(script, source = [], options = {}) TmpFile.with_file(script) do |script_file|