R and C++ book