lib/rbbt/util/R.rb in rbbt-util-5.13.37 vs lib/rbbt/util/R.rb in rbbt-util-5.14.0
- old
+ new
@@ -36,10 +36,10 @@
end
end
def self.interactive(script, options = {})
TmpFile.with_file do |init_file|
- Open.write(init_file) do |f|
+ Open.write(init_file) do |f|
f.puts "# Loading basic rbbt environment"
f.puts "library(utils);\n"
f.puts "source('#{R::UTIL}');\n"
f.puts
f.puts script