I understand RInside allows C++ program to embed R code, while Rcpp enables R code to call C++ functions or library.
Are there other differences and commonalities between RInside and Rcpp? Why RInside has a namespace called Rcpp? Do developers always need both RInside and Rcpp to call R code as a class in Cpp?