Skip to content
Prev 9960 / 10988 Next

[Rcpp-devel] using an unloaded package's lazy-load data in Rcpp function

The environments called 'package:foo' are associated with attached
packages; that is, they're located on the search path. You likely want to
find the actual package namespace.

I think we have a static function Environment::namespace_env() for this. Or
you can just call back to R with requireNamespace().

Kevin
On Fri, Apr 13, 2018 at 10:10 PM, Wasey, Jack O <jack at jackwasey.com> wrote:

            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20180415/3855ad73/attachment.html>