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.fla...@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.fla...@fh-koeln.de
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to