[R] "non-visible" functions in return to methods()

Martin Maechler maechler at stat.math.ethz.ch
Mon Nov 29 16:30:04 CET 2004


>>>>> "Roger" == Roger D Peng <rpeng at jhsph.edu>
>>>>>     on Mon, 29 Nov 2004 08:48:04 -0500 writes:

    Roger> "non-visible" functions are hidden in a namespace.  
yes.

    Roger> You can view the  code by using getS3method().

not always {namely when the hidden function is not an S3 method}

getAnywhere() is more generally useful, but please consider my
post from half a year ago
   
   https://stat.ethz.ch/pipermail/r-help/2004-May/050112.html

which gives more explanations and possibilities.

    Roger> steve houghton wrote:
    >> Please point me to the documentation explaining why some of the 
    >> functions returned
    >> by calling methods() are marked as "non-visible" and whether there is 
    >> indeed no way of
    >> viewing the R code of such functions
    >> 
    >> thanks
    >> 
    >> Steve




More information about the R-help mailing list