我一直在使用zoo
很久以前安装的软件包。今天,我创建了一个新的 R 脚本,然后运行library(zoo)
并得到以下错误:
> library(zoo)
Error in library(zoo) : there is no package called ‘zoo’
奇怪.. 尽管如此,我还是尝试使用 重新安装软件包install.packages("zoo")
,并获得以下信息:
> install.packages("zoo")
Installing package(s) into ‘C:/Users/U122337.BOSTONADVISORS/Documents/R/win-library/2.15’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL 'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.15/zoo_1.7-10.zip'
Content type 'application/zip' length 874474 bytes (853 Kb)
opened URL
downloaded 853 Kb
package ‘zoo’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘zoo’
The downloaded binary packages are in
C:\Users\U122337.BOSTONADVISORS\AppData\Local\Temp\Rtmp404t8Y\downloaded_packages
当我尝试上传包时,我再次收到zoo
包不存在的错误。
我不知道发生了什么。我退出GUI并重新启动它,同样的问题。我一直使用这个包,我不知道为什么现在会发生这种情况。