Skip to content
Prev 201977 / 398503 Next

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'?
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?