[R] How to find where the source code of an R function or package is installed?

jim holtman jholtman at gmail.com
Sun Nov 29 06:55:28 CET 2009


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.ut at 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 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?




More information about the R-help mailing list