[Rcpp-devel] Rinside libPaths configuration
Toby Hocking
tdhock5 at gmail.com
Thu Aug 27 19:58:34 CEST 2020
Hi all,
I'm having this issue
https://stackoverflow.com/questions/16758129/error-in-loadnamespacename-there-is-no-package-called-rcpp
Rcpp is installed in ~/R/x86_64-pc-linux-gnu-library/4.0
But my RInside compiled binary looks for packages in ~/lib/R/library
Is there a way to configure the default library when I compile my command
line program with RInside?
Otherwise, is there a recommended approach for doing run-time configuration
of the library? I
tried.R.parseEvalQ(".libPaths('~/R/x86_64-pc-linux-gnu-library/4.0')") but
that does not seem to work.
Thanks for any help/ideas
Toby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20200827/01cc70fa/attachment.html>
More information about the Rcpp-devel
mailing list