Skip to content

Instantly share code, notes, and snippets.

View lyleaf's full-sized avatar
💭
I may be slow to respond.

Liu Yiling lyleaf

💭
I may be slow to respond.
  • Google
  • Australia
View GitHub Profile
@krishnanraman
krishnanraman / r in scala.txt
Last active October 2, 2020 00:00
Using R from Scala
Step 0. You must have the latest & greatest version of R, and scala 2.10.1, for all of this to work.
Step 1. Download and unzip the MacOS X Binary jvmr_1.0.4.tgz from here: http://cran.r-project.org/web/packages/jvmr/index.html
Step 2. Create a lib folder, and copy jvmr_2.10-1.0.4.jar to that folder.
Step 3. Start R
Step 4. At the R console
>install.packages("jvmr")