Error in loadNamespace(name) : there is no package called 'Rcpp'
...
Error in loadNamespace(name) : there is no package called 'RInside'
I get the above error when trying make on the examples of RInside.
RInside is in the user-library. So I set R_LIBS_USER to the directory in the Makefile.
R_LIBS_USER := "C:/users/Me/Documents/R/win-library/3.0"
but that does not work either.
Thanks for any advice.
EDIT:
It works fine if the packages are in "C:/R/R-3.0.2/library". R_LIBS_USER doesn't seem to work on Windows.
I fear this is local to your end.
If Rcpp and RInside are in fact in your default library location (and on Windows I sometimes copy them) then the examples build, as does the rest of the package. Recall that all this works for CRAN and the win-builder.
I was also having the same problem and read Dirk's reply and just ran
install.packages("Rcpp", dependencies = TRUE)
install.packages("RInside", dependencies = TRUE)
and it is working fine now.
I know the question was asked long back. But I faced the same problem while using R from python (Anaconda). Also I didnt find an reasonable explanation for it. Finally this is what worked for me.
import rpy2.robjects as ro
ro.r('''.libPaths('C:/Users/<remaining path>/R/win-library/3.1')''')
RSVM = importr('e1071')