Seamless Integration of R and C++