Check out: Uwe Ligges. R Help Desk: Accessing the sources. R News, 6(4):43-45, October 2006
On Sat, Nov 28, 2009 at 11:00 PM, Peng Yu <pengyu...@gmail.com> wrote: > I'm wondering where is the source of an R function or a package is. > For example, where is 'attributes'? > >> attributes > function (obj) .Primitive("attributes") > > I also do understand what .Primitive mean. Could somebody let me know > how to locate source file in an R installation? Why typing > 'attributes' does not give its definition? > > ______________________________________________ > R-help@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. > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? ______________________________________________ R-help@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.