Data Science. TileDB. Open Source. Quant Research. R. C++. Debian. Linux. Adjunct Clinical Professor, University of Illinois. Lots of coffee. And some running.
Sipping some of the C++ cocktail with #Rcpp (@eddelbuettel et al.) in #R.
I addressed a bottleneck:
Mean in msec
R: 109720.593
C++: 212.177
C++ won this race: ~500 times faster!
First time tasting C++, it might be addictive..
R^4 #23: Debug using Docker on macOS
A concrete example of easy access to gfortran-9 using Rocker's r-base to access the Debian packages
dirk.eddelbuettel.com/blog/2…#rstats
And the @Debian (source) package has been updated, and uploaded.
Expect binaries for two dozen architectures 'soon' and, if you care, watch this page for them: buildd.debian.org/status/pac…
Spot on. Cf Chambers (2016, Sec 1.1, "Three Principles"):
- Everything that exists in R is an object.
- Everything that happens in R is a function call.
- Interfaces to other software are part of R.
So a Big Yes!! to XR, #Rcpp, reticulate, ...
#rstats
I highly recommend trying to use #reticulate and #Rcpp to call other languages in #Rstats. We have a luxury of tools and should make the best use of them. There is absolutely no need to accept the limitations of one toolset when others are on hand to use when more appropriate.