Indeed, thanks.
Btw. is it by design, that if I do EVAL(lang3(install(), ...)) from a
package, it is not evaluated in the package's namespace?
Anyway, this is how I did it in some old code of mine:
PROTECT(rho = EVAL(lang2(install("getNamespace"),
ScalarString(mkChar
Gabor,
You can evaluate R code from C, so it should be pretty straightforward to
construct a call to :::
::: looks like it just uses get, so you could probably do that as well.
~G
On Mon, Jan 27, 2014 at 7:30 PM, Gábor Csárdi wrote:
> Hi all,
>
> what is the supported way to get the package n
Hi all,
what is the supported way to get the package namespace from C? I want to
call a non-exported R function from C, and did not find anything in the
docs.
Thanks,
Gabor
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing