Renjin: a JVM-based interpreter for the R language
1–10 of 37 posts
Re: Renjin: a JVM-based interpreter for the R language
#2Re: Renjin: a JVM-based interpreter for the R language
#3IMHO the crucial question is whether users can use libraries that load native libraries and/or make use of rcpp. The docs make me think it's not possible.
Looks like Renjin can also be used from GNU R as an R package[2]. I'd assume any installed R package should also work in conjunction with it.
Admittedly, I haven't tried Renjin, but only just found it and thought it was quite interesting.
[1] http://packages.renjin.org/package/org.renjin.cran/Rcpp
[2] http://docs.renjin.org/en/latest/package/index.html#using-re...
Re: Renjin: a JVM-based interpreter for the R language
#4Re: Renjin: a JVM-based interpreter for the R language
#5IMHO the crucial question is whether users can use libraries that load native libraries and/or make use of rcpp. The docs make me think it's not possible.
Regarding Rcpp, their package library says "A Renjin-specific version of this package is available."[1] Looks like Renjin can also be used from GNU R as an R package[2]. I'd assume any installed R package should also work in conjunction with it. Admittedly, I haven't tried Renjin, but only just found it and thought it was quite interesting. [1] http://packages.renjin.org/package/org.renjin.cran/Rcpp [2] http://docs.r…
Re: Renjin: a JVM-based interpreter for the R language
#6IMHO the crucial question is whether users can use libraries that load native libraries and/or make use of rcpp. The docs make me think it's not possible.
"As a service, BeDataDriven provides a repository with all CRAN (the Comprehensive R Archive Network) and BioConductor packages at http://packages.renjin.org. The packages in this repository are built and packaged for use with Renjin. Not all packages can be built for Renjin so please consult the repository to see if your favorite package is available for Renjin."
[1] http://docs.renjin.org/en/latest/interactive/index.html#prer...
Re: Renjin: a JVM-based interpreter for the R language
#7Re: Renjin: a JVM-based interpreter for the R language
#8Re: Renjin: a JVM-based interpreter for the R language
#9IMHO the crucial question is whether users can use libraries that load native libraries and/or make use of rcpp. The docs make me think it's not possible.
From the documentation [1]: "As a service, BeDataDriven provides a repository with all CRAN (the Comprehensive R Archive Network) and BioConductor packages at http://packages.renjin.org . The packages in this repository are built and packaged for use with Renjin. Not all packages can be built for Renjin so please consult the repository to see if your favorite package is available for Renjin." [1] http://docs.renjin.o…
Re: Renjin: a JVM-based interpreter for the R language
#10I build and maintain the R stack in my organization. A good portion of the R core is written in Fortran for maximum performance and efficiency; the rest is in C and C++. Why would I want an interpreted, just-in-time, garbage collected version of R in a JVM when I can run at full speed on the real thing?
For clarification, the JVM JIT-compiles the most frequently used blocks of bytecode to machine code, so the bulk of the heavy lifting is not interpreted.
The benefit of doing it this way is that compilation can be optimised based on the runtime-characteristics of the code, not compiler judgement. Cases of JVM code running faster than equivalent C/C++ code are not uncommon.
Aside from that, access to Java libraries (eg for integration) may be important to some shops.