[Rcpp-devel] Locating an Instance of a Reference Class in the Environment
Jeff Newmiller
jdnewmil at dcn.davis.ca.us
Fri Mar 24 19:34:38 CET 2023
Matthew... the normal context for sharing Rcpp code is within a package. It is a no-brainer to have an R API called by the user that calls whatever Rcpp code it needs to, which is why your objection seems inappropriate to me.
On March 24, 2023 10:43:34 AM PDT, Dirk Eddelbuettel <edd at debian.org> wrote:
>
>On 24 March 2023 at 13:08, Matthew Supernaw - NOAA Federal wrote:
>| I'm sure it's possible to do from the R side, however, the requirement is to
>| hide this from the end user and set the reference objects name to the declared
>| name from the R environment. If I view the environment in RStudio, there is
>| much more information available. ls() only returns a list of objects by their
>| declared name. I'm wondering how to get more details about elements in the
>| environment.
>
>Thanks for additional color. That may be a very interesting and valuable
>question _for the C API of R_ and youe guess of "maybe Rcpp has a helper" is
>a good one. Sadly, I fear we may not have anything for you.
>
>Dirk
>
>--
>dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
>_______________________________________________
>Rcpp-devel mailing list
>Rcpp-devel at lists.r-forge.r-project.org
>https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
--
Sent from my phone. Please excuse my brevity.
More information about the Rcpp-devel
mailing list