Examples using RcppClassic to interface R and C++