[R] How do I view hidden methods?

Thomas Lumley tlumley at u.washington.edu
Tue May 13 18:03:18 CEST 2003

On Tue, 13 May 2003, Kevin Wright wrote:

> I'm using R 1.7.0 on Windows 2000.
> I'm a long-time user of R, but am experiencing frustration because
> I can't figure out how to view the function definition of a non-exported
> method.  (I know I can go view the source code or the code in the library directory
> but I am trying to view the function inside the R environment.
> In particular,
> library(mva)
> biplot.princomp
> Error: Oject "biplot.princomp" not found.
> Right now I don't like hidden methods, but maybe someone can explain
> the value of hiding functions from the user?

So they can't be called directly, but only via UseMethod.
You can see the function with



More information about the R-help mailing list