This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/attach.html
attach {base}R Documentation

Attach Set of R Objects to Search Path

Description

A new database is attached. This means that its objects are made available to R.

—— should say more here ——

Usage

attach(what, pos = 2, name = deparse(substitute(what)))

Arguments

what

“database” to attach. Typically a data.frame.

pos

integer specifying position in search() where to attach.

name

alternative way to specify the database to be attached.

Value

The environment is returned invisibly with a "name" attribute.

See Also

library, detach, search, objects, environment.

Examples

data(women)
attach(women)
summary(height)   #- which belongs to `women'

[Package base version 0.60 ]