[R] Using invisible function

From: talepanda <talepanda_at_gmail.com>
Date: Tue 30 Jan 2007 - 09:26:45 GMT


Dear R-er:

I want to use invisible function in some packages.

I know that triple colon operater is available. However, how can I use all invisible functions in some packages.

One solution is , of course, to use ":::" in every use, but is there any workaround?

It is similar to "using namespace" directive in C++.

using std::cout;
using std::cin;

is triple colon approach, and

using namespace std;

is what I want.

The reason why I want this is to modify function in some packages.

For example, I want to get the SSs in stats::anova.mlm. This is not difficult, but anova.mlm uses many invisible functions, so I have to use ":::" in every use, or, define, e.g. Rank<-stats:::Rank
etc.
in my scope.

Thanks in advance.



R-help@stat.math.ethz.ch mailing list
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. Received on Tue Jan 30 20:31:31 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 30 Jan 2007 - 10:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.