Lumenize icon indicating copy to clipboard operation
Lumenize copied to clipboard

R function attach()

Open jmaccherone opened this issue 12 years ago • 0 comments

Saves typing.

Typically, to access variables in a data frame, you would use $ notation:

head(DataFrame$field,4)

But if you run

attach(DataFrame) then you can just type the field name as in
head(field, 4)

jmaccherone avatar May 22 '13 15:05 jmaccherone