- First install GraalVM
- Then set up the
JAVA_HOME
- Use GraalVM Updater to install FastR:
gu -c install org.graalvm.r
- And finally run Scala examples using
sbt run
.
Note: The demo uses ggplot2
package for plotting; in FastR, run install.packages("ggplot2")
to install it. Compiling all the dependencies takes a bit of time, so feel free to have your coffee while it's getting installed.