Learn R Programming

R.utils (version 1.9.7)

detachPackage: Detaches a packages by name

Description

Detaches a packages by name, if loaded.

Usage

## S3 method for class 'default':
detachPackage(pkgname, ...)

Arguments

pkgname
A character string of the package name to be detached.
...
Not used.

Value

  • Returns (invisibly) TRUE if package was detached, otherwise FALSE.

See Also

detach().