| attach {base} | R Documentation |
A new database is attached. This means that its objects are made available to R.
should say more here
attach(what, pos = 2, name = deparse(substitute(what)))
what |
``database'' to attach. Typically a data.frame or
list. |
pos |
integer specifying position in search() where
to attach. |
name |
alternative way to specify the database to be attached. |
The environment is returned invisibly with a
"name" attribute.
library, detach, search,
objects, environment.
data(women)
attach(women)
summary(height) #- which belongs to `women'
detach("women")