Learn R Programming

R.utils (version 2.9.0)

detachPackage: Detaches packages by name

Description

Detaches packages by name, if loaded.

Usage

# S3 method for default
detachPackage(pkgname, ...)

Arguments

pkgname

A character vector of package names to be detached.

...

Not used.

Value

Returns (invisibly) a named logical vector indicating whether each package was detached or not.

See Also

detach().