Java Mailing List Archive

http://www.r-help.com/

Home » Home (12/2007) » R Help for Statistical Computing »

[R] accessing unexported functions

Erich Neuwirth

2007-05-21

Replies:

I need to access some internal function of a package temporarily.
These functions normally that are not visible outside of the package.
I know the MyPackage:::myfunction mechanism,
but that does not solve my problem.
Instead, I need to add the "internal namespace" of the package
to the search path, then I can run a few commands with these functions
available, and then the internal namespace should become
invisible again.

Is there a code example to achieve this?


--
Erich Neuwirth, Didactic Center for Computer Science
University of Vienna
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-39464 Fax: +43-1-4277-9394

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
©2008 r-help.com - Jax Systems, LLC, U.S.A.