我在docker文件中使用了下面的行安裝了R。請建議如何指定現在要安裝在我的docker文件中的軟件包。 RUN yum -y install R-core R-devel
我在做這樣的事情: RUN R -e "install.packages('methods',dependencies=TRUE, repos='http://cran.rstudio.com/')"\
&& R
我需要安裝「plm」包。安裝完成後,「三明治」包丟失了。 > library(plm)
Error: package or namespace load failed for ‘plm’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package cal
嗨,我卸載了一個軟件包,但它仍然可以訪問,有人可以幫忙嗎?謝謝你! > 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(sessionI