"Deepayan Sarkar" <[EMAIL PROTECTED]> writes:

> On 10/22/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
>> In R code, you could use getNamespace("pkg") to get the namespace
>> environment.  I haven't tried this, but I'd assume
>>
>> PROTECT(rho = eval(lang2(install("getNamespace"),
>>                           ScalarString(mkChar("pkg"))));
>>
>> (or something like it) would be the C equivalent.

Perhaps:

R_FindNamespace(mkString(where))


+ seth

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

Reply via email to