dtach: detach and unload a package. usually works the way one might...

View source: R/dtach.R

dtachR Documentation

detach and unload a package. usually works the way one might expect it to.

Description

detach and unload a package. usually works the way one might expect it to.

Usage

dtach(p)

Arguments

p

the package name, unquoted like in library()

Details

If a package is not directly loaded, base::detach will provide helpful feedback, in the eloquent yet restrained manner of a DEC VAX compiler.

Value

whatever base::detach() returns, if p was attached

Examples

library(MASS)
dtach(MASS) 


ttriche/Rscripts documentation built on Aug. 19, 2024, 7:29 p.m.