Hello World from OSS Silicon Valley
HowToUse/RubyOnRails/4.2/RinRuby/2.0
_ Prerequisite
- Ubuntu Server installation (You can refer HowToUse/UbuntuServer/14.04)
- Ruby On Rails installation (You can refer HowToUse/RubyOnRails/4.1)
_ HowToUse
- Step.1
- Prepare rails project.
- Step.2
- Edit Gemfile to install gem for rinruby, and install it.
$ vi Gemfile
gem 'rinruby'
$ bundle install
- Step3
- Prepare code to access R from rails.
R.eval ("<R statement>")
You can see sample code from here
_ Author
S.Yatsuzuka
Last-modified: 2015-12-29 (Tue) 04:06:50 (3342d)