Oliver Flasch
2010-Aug-29 18:02 UTC
[Rd] Feature request: put NewEnvironment and R_NewhashedEnv into API
Hi, as Seth Falcon in 2006, I also need to create new environments from package C code. Unfortunately, both NewEnvironment and R_NewHashedEnv are not yet part of the public API, if I understand correctly. Is it planned to add at least one of these functions to the public API in the near future? May I submit a patch? Otherwise I would need to re-implement much of the functionality of R environments in my own code. Many thanks and best regards Oliver -- Dipl. Inform. Oliver Flasch, Institute of Computer Science, Faculty of Computer Science and Engineering Science, Cologne University of Applied Sciences, Steinm?llerallee 1, 51643 Gummersbach phone: +49 171 6447868 eMail: oliver.flasch at fh-koeln.de
Michael Lawrence
2010-Sep-03 13:10 UTC
[Rd] Feature request: put NewEnvironment and R_NewhashedEnv into API
What about allocSExp(ENVSXP)? Then SET_ENCLOS() to set the parent? Seems to work for me. Michael On Sun, Aug 29, 2010 at 11:02 AM, Oliver Flasch <oliver.flasch@fh-koeln.de>wrote:> Hi, > > as Seth Falcon in 2006, I also need to create new environments from package > C code. Unfortunately, both NewEnvironment and R_NewHashedEnv are not yet > part of the public API, if I understand correctly. > > Is it planned to add at least one of these functions to the public API in > the near future? May I submit a patch? Otherwise I would need to > re-implement much of the functionality of R environments in my own code. > > > Many thanks and best regards > > Oliver > > -- > Dipl. Inform. Oliver Flasch, > Institute of Computer Science, > Faculty of Computer Science and Engineering Science, > Cologne University of Applied Sciences, > Steinmüllerallee 1, 51643 Gummersbach > phone: +49 171 6447868 > eMail: oliver.flasch@fh-koeln.de > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >[[alternative HTML version deleted]]
Reasonably Related Threads
- Feature request: put NewEnvironment and R_NewhashedEnv into API
- [ANNOUNCE] Netfilter releases: iptables 1.4.13, nfacct 1.0.0 and libnetfilter_acct 1.0.0
- On optimizing `R_NewEnv()`
- Internal error in 'ls' for pathological environments (PR#14035)
- Internal error in 'ls' for pathological environments (PR#14036)