[R] Non-visible functions are asterisked

roger koenker roger at ysidro.econ.uiuc.edu
Sat Mar 8 17:09:21 CET 2008


short answer:  non-visible means that they are not exported from
a package with a namespace so that they are "not found" if you just
type the name.  However, you can see these functions if you use

	getAnywhere(fname)

longer answer:  see the section on namespaces in the writing R
extensions manual.


On Mar 8, 2008, at 9:48 AM, Muenchen, Robert A (Bob) wrote:

> Dear R-Helpers,
>
> I suspect I'm about to ask a FAQ, but I haven't been able to find an
> answer in the FAQ, AItR or an R Site Search. When I look at the  
> methods
> of summary (below) it says, "Non-visible functions are asterisked". I
> looked at the help file for summary.princomp, which did not comment on
> it being non-visible. I ran its help file example, which printed  
> visible
> output. I did not notice how it differed from other functions, like
> summary.data.frame that is not marked non-invisible. What does the
> non-visible mean?
>
> Thanks,
> Bob
>
>> methods(summary)
> [1] summary.aov            summary.aovlist
> [3] summary.connection     summary.data.frame
> [5] summary.Date           summary.default
> [7] summary.ecdf*          summary.factor
> [9] summary.glm            summary.infl
> [11] summary.lm             summary.loess*
> [13] summary.manova         summary.matrix
> [15] summary.mlm            summary.nls*
> [17] summary.packageStatus* summary.POSIXct
> [19] summary.POSIXlt        summary.ppr*
> [21] summary.prcomp*        summary.princomp*
> [23] summary.stepfun        summary.stl*
> [25] summary.table          summary.tukeysmooth*
>
>   Non-visible functions are asterisked
>
> =========================================================
> Bob Muenchen (pronounced Min'-chen),
> Manager, Statistical Consulting Center
> U of TN Office of Information Technology
> Stokely Management Center, Suite 200
> 916 Volunteer Blvd., Knoxville, TN 37996-0520
> Voice: (865) 974-5230
> FAX: (865) 974-4810
> Email: muenchen at utk.edu
> Web: http://oit.utk.edu/scc
> Map: http://www.utk.edu/maps
> News: http://listserv.utk.edu/archives/statnews.html
> =========================================================
>
> ______________________________________________
> R-help at r-project.org 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.



More information about the R-help mailing list