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 in return to methods()
4 messages · steve houghton, Roger D. Peng, Martin Maechler +1 more
"non-visible" functions are hidden in a namespace. You can view the code by using getS3method(). -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
_________________________________________________________________ ______________________________________________ R-help at 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
Roger D. Peng http://www.biostat.jhsph.edu/~rpeng/
"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
On Mon, 29 Nov 2004, 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
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