开发者

How to remove R package that has dependencies on other packages?

I've installed a R package (PathRanker) that depends on packages (xml,Rgraphviz,Rcurl). I've noticed that the all the packages' folders inside the library shows some sort of a locked sign. I tried to remove PathRanker using the R CMD REMOVE but it didnt works. I tried to reinstall the package (which I kindda mess around with the code) it also didnt wo开发者_如何学编程rks. So I think it got something to do with the dependency packages. Can someone help me? thanks...


You might have installed the packages as root (if you are using Linux), and trying to remove the package as normal user.

Start an R session as root (sudo R), and try to remove (see: ?remove.packages) the packages in this environment. Or from console:sudo R CMD REMOVE (package name)

If still not working, please write more about the error messages.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜