Skip to content

Instantly share code, notes, and snippets.

@dylandy
Last active November 25, 2016 10:42
Show Gist options
  • Save dylandy/5f47bfc989c9f92cfcf2d1f89c7ec89f to your computer and use it in GitHub Desktop.
Save dylandy/5f47bfc989c9f92cfcf2d1f89c7ec89f to your computer and use it in GitHub Desktop.
1. rsruby gem install
=> gem install rsruby -- --with-R-home=/usr/lib/R --with-R-include=/usr/share/R/include #Linux
=> gem install rsruby -- --with-R-include=/usr/share/R/include --with_cflags="-fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wall -fno-strict-aliasing" #Linux
=> gem install rsruby -- --with-R-dir=$R_HOME --with-R-include=$R_HOME/include --with-R-lib=$R_HOME/lib # All platform
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment