Questions tagged [fastr]

A high-performance implementation of the R programming language, built on GraalVM.

6 questions
2
votes
1 answer

Why is FASTR (ie GraalVM version of R) 10x *slower* compared to normal R despite Oracle's claim of 40x *faster*?

Oracle claims that its graalvm implementaion of R (called "FastR") is up to 40x faster than normal R (https://www.graalvm.org/r/). However, I ran this super simple (but realistic) 4 line test program and not only was GraalVM/FastR not 40x faster,…
Jonathan Sylvester
  • 1,275
  • 10
  • 23
2
votes
3 answers

Graalvm - Integration with RStudio

among the projects that aim to accelerate the R language, FastR that currently uses version 3.5.1 of the R language with GraalVM is the one seems to me to be more developed and compatible with the most recent version of the R. Would anyone know if…
Pedro Rafael
  • 492
  • 4
  • 11
2
votes
1 answer

Is it possible to use GraalVM / FastR directly from RStudio?

I browsed some docs but it is not clear to me if it is possible to use FastR / GraalVM in RStudio instead of default GNU R implementation. My goal would be to integrate R code and Java code in a much more friendly way than current solution which…
greg
  • 306
  • 1
  • 13
1
vote
1 answer

Prevent R script from finishing when scheduling fixed delay executor

I plan to write an R script using FastR implementation which looks like java.addToClasspath("build/libs/polyglot-example-f.jar") clientClass <- java.type('org.algo.polyglot.JavaClient') javaClient <- new(clientClass, threadPoolSize=10) …
Jugal Mistry
  • 160
  • 1
  • 9
0
votes
1 answer

Does GraalVM use same thread and heap space when calling polyglot functions?

If I call R code from Java within GraalVM (using GraalVM's polyglot function), does the R code and the Java code run on the same Java thread (ie there's no switching between OS or Java threads etc?) Also, is it the same "memory/heap" space? That is,…
Jonathan Sylvester
  • 1,275
  • 10
  • 23
0
votes
1 answer

Problem with installing R packages in GraalVM

I've installed graalvm-ce-java8-20.0.0 on MacOS Catalina. I can run simple R code from java: Context context = Context.newBuilder("js").allowAllAccess(true).build(); Context.newBuilder().allowNativeAccess(true).build(); Set
MLearner
  • 63
  • 7