Skip to content
Grant Brown edited this page Oct 6, 2015 · 1 revision

Requirements

System Level Prerequisites

CAF depends on a variety of C++ 11 features, so a compiler with good C++ 11 support is required. For GCC users, this means using version 4.8.2. or newer. This prerequisite is met by R on Linux and OSX platforms, but not yet on Windows. Based on recent developments in the RTools software, we plan to start supporting Windows with R version 3.3.0.

Non-GCC compilers should technically work, but we have had little success with MS and Intel offerings. Much work has already been done in the CAF community, but has not been integrated into RcppCAF. Users who require alternate tools may have better luck building CAF externally, and linking to a system level library in their R package. Any suggestions on how we can improve compatibility are certainly welcome!

R Package Prerequisites

We require Rcpp and RcppEigen:

> install.packages(c("Rcpp", "RcppEigen"))

Directions

Perhaps the easiest way to install RcppCAF is using the devtools package:

library(devtools)
install_git("https://github.com/grantbrown/RcppCAF.git")

We also plan to submit RcppCAF to CRAN once we can support all major platforms, which will simplify the installation process.

Clone this wiki locally