Skip to content

"non-visible" functions in return to methods()

4 messages · steve houghton, Roger D. Peng, Martin Maechler +1 more

#
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

_________________________________________________________________
#
"non-visible" functions are hidden in a namespace.  You can view the 
code by using getS3method().

-roger
steve houghton wrote:

  
    
#
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
#
On Mon, 29 Nov 2004, steve houghton wrote:

            
Luke Tierney's article in Volume 3 No 1 of the R Newsletter explains why. 
How to get the functions is FAQ 7.26.


 	-thomas