Skip to content
Back to formatted view

Raw Message

Message-ID: <366c6f340911282000l11f15da7x4960198c0502e1a7@mail.gmail.com>
Date: 2009-11-29T04:00:21Z
From: Peng Yu
Subject: How to find where the source code of an R function or package is installed?

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?