Is c++ still the best performance companion language for R?

This page summarizes the projects mentioned and recommended in the original post on /r/Rlanguage

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • gifski

    R wrapper for the 'gifski' Rust Cargo crate. (by r-rust)

  • Calling rust from R goes through the C abi, meaning you’ll probably still use a C wrapper like in this project, which makes building the package somewhat complicated. If you want to work with R SEXPs that’s also pretty complicated and Rcpp helps a lot with that. Rcpp will also help you convert R types back and forth.

  • riot

  • If it is matrix operations and linear algebra that you are planning to optimise, have a look at RcppArmadillo. I had some successes in using for some computational heavy algorithms, see them here: https://gitlab.com/zauster/riot/-/tree/master/src

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • extendr

    R extension library for rust designed to be familiar to R users.

  • Consider rust.

  • JuliaCall

    Embed Julia in R

  • I’ve had some joy with JuliaCall.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts