I think you get that issue when your .libPaths()
differ--in other words run the .libPaths()
function to see the paths stored by R for its use. Then check where RInside
is installed, and make sure Rcpp
is installed there too. It is a setup issue.
In other words, it should work if you have Rcpp
and RInside
installed where the basic R libraries are. Otherwise you have to tell the (embedded) R session about the other location (and before it starts).
There are more Windows users on the list, so you could try asking on rcpp-devel.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…