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/detach.html
detach {base}R Documentation

Detach R objects from search path

Description

Detach a database, i.e., remove it from the search() patch of available R objects. Usually, this either a data.frame which has been attached or a package which was required previously.

Usage

detach(name, pos = 2)

Arguments

name

The object to detach. Defaults to search()[pos].

pos

Index position in search() of database to detach.

Value

The attached database is returned invisibly, either as data.frame or as list.

See Also

attach, library, search, objects.

Examples

require(eda)#package
detach(package:eda)

[Package base version 0.60 ]