Skip to content

FastR - GraalVM Community Edition 1.0 RC7

Pre-release
Pre-release
Compare
Choose a tag to compare
@ansalond ansalond released this 03 Oct 13:34
· 3711 commits to master since this release

FastR is a GNU R compatible implementation of R for GraalVM. It is currently based on R 3.4.0, reuses the base packages of GNU R is compatible with the ecosystem.

For example, FastR can install and run unmodified complex R packages like ggplot2, Shiny, or Rcpp, for compatibility with other packages please refer to the compatibility checker: http://www.graalvm.org/docs/reference-manual/compatibility/.

Being implemented on top of GraalVM, FastR uses its state-of-the-art JIT compiler and has better peak performance, often several times faster than GNU R.

The R language components can be installed in GraalVM using the gu utility.

More information is available on the GraalVM website: http://www.graalvm.org/docs/reference-manual/languages/r/

API changes

  • eval.polyglot: the parameter source was renamed to code

New features

  • AWT based graphics devices (jpg, png, X11, ...) supported in native image
  • Seamless way to create R data frames from Polyglot objects
    • Handled by as.data.frame.polyglot.value
    • Expected structure: KEYS are used as column names, the values must be homogenous arrays (e.g. respond to HAS_SIZE)

Bug fixes

  • S3 dispatch works correctly with NULL
  • Paths in eval.polyglot are resolved relative to the current working directory
  • Connections: sockets can always be read and written, raw connections are always binary
  • Promises are evaluated in LazyLoadDBFetch (to support delayedAssign)
  • Fixed broken Rscript --version
  • Various fixes necessary to pass dplyr tests (GitHub version of dplyr)