Hi, Really excited to try out stuff in Dirk's book. The first chapter of the book gives a gentle introduction to Rcpp and inline package. The problem setting is how to integrate a fibonacci recursive function in C++, compile it and execute it in R. Benchmarking results are also shown. The program code is all below in one R file. Its the same code in the book under listing 1.2 library(inline) library(rbenchmark) library(Rcpp) #inline function for fibonacci algorithm in C++ incltxt <- ' int fibonacci(const int x) { if (x == 0) return(0); if (x == 1) return(1); return fibonacci(x - 1) + fibonacci(x - 2); }' #wrapper function fibRcpp <- cxxfunction(signature(xs="int"), plugin="Rcpp", incl=incltxt, body=' ...