rinruby icon indicating copy to clipboard operation
rinruby copied to clipboard

Ruby library that integrates the R interpreter in Ruby, making R's statistical routines and graphics available within Ruby.

Results 17 rinruby issues
Sort by recently updated
recently updated
newest added

Hi @clbustos and @fenrir-naru! First of all thanks for having developed this project. It seems to be the best approach to using R in Ruby at the moment. We're looking...

Could you release a new Gem? The purpose of this issue is to release a gem that actually works. The current gem does not work with the new R +...

in a controller's method, I have this (like a script in ruby): --- @r = RinRuby.new(true,false) @r.assign "name", name begin @r.eval "source(\"public/rscripts/e2_p1m1_Binaria_NN.R\")" @tatt = @r.pull "tatt" rescue Exception => e...

`r.eval r_script` appears to error suspiciously at the 10k character mark. Can this be increased?

I'm not very familiar with R and once I want to put a 600*600 Ruby matrix( each element is a float number)into R, like R.weight_matrix, I got the following error...

I am having trouble assigning large matrices. ``` require 'rinruby' R.m = Matrix.zero 5 ``` produces ``` ... rm(.RINRUBY.PARSE.STRING) d=matrix(c(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), 5, 5, TRUE) print('RINRUBY.EVAL.FLAG') ... ``` which is fine but...

using bundler, when calling my rackup script. `/home/user/.rvm/rubies/ruby-2.2.3/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/user/.rvm/gems/ruby-2.2.3/gems/ruby-debug-ide-0.4.24/bin/rdebug-ide --disable-int-handler --evaluation-timeout 10 --rubymine-protocol-extensions --port 33242 --dispatcher-port 43995 -- /home/user/.rvm/rubies/ruby-2.2.3/bin/rake test:drip RACK_ENV=test` the rinruby script will generate this cmd...

Hi, I included the gem in my Gemfile of a Rails 4.2.6 application. After running `bundle install` i tried to execute some code in my `rails console` but unfortunately it...

If a string in R contains characters with diacritics, the pulled string in Ruby is shortened by number of these characters. For instance, this code ``` require "rinruby" R.eval "text