0
嗨,我卸載了一個軟件包,但它仍然可以訪問,有人可以幫忙嗎?謝謝你!無法卸載軟件包
> remove.packages("RODBC")
Removing package from ‘E:/R/R-3.3.3/library’
(as ‘lib’ is unspecified)
> library(RODBC)
# no error. it's still there
> attr(sessionInfo()$otherPkgs$RODBC, "file")
[1] "E:/R/R-3.3.3/library/RODBC/Meta/package.rds"
# it really is there...
> remove.packages("dplyr")
Removing package from ‘E:/R/R-3.3.3/library’
(as ‘lib’ is unspecified)
> library(dplyr)
Error in library(dplyr) : there is no package called ‘dplyr’
# this guy is removed
> .Library
[1] "E:/R/R-3.3.3/library"
> .libPaths()
[1] "E:/R/R-3.3.3/library"
是否有可能包裝RODBC
被使用,因此無法刪除?
什麼是你'.libPaths()'? –
謝謝@ HongOoi請參閱OP的更新 –
'attr(sessionInfo()$ otherPkgs $ RODBC,「file」)''在你卸載它之後又返回被稱爲庫嗎?刪除工作?有關正在使用的文件沒有錯誤? – MrFlick