R 实用命令 2
1. how to temporarily unload the packages in R
> library(Daim) 载入程辑包:‘Daim’ The following objects are masked from ‘package:pROC’: auc, roc Warning message: 程辑包‘Daim’是用R版本3.4.4 来建造的 > roc function (x, ...) UseMethod("roc") <environment: namespace:Daim> > library(pROC) > roc function (x, ...) UseMethod("roc") <environment: namespace:Daim>
use the unloadNamespace("Daim") to unload the Daim package
> unloadNamespace("Daim") > roc function (...) { UseMethod("roc") } <environment: namespace:pROC>
Daim package has been removed.