5

我正在尝试下载 zoo 包以使用时间序列:

install.packages("zoo")

但我收到以下消息:

--- Please select a CRAN mirror for use in this session ---  
Warning: unable to access index for repository http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.12 
Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.12  
Warning messages:  
1: In open.connection(con, "r") :
  unable to connect to 'cran.r-project.org' on port 80.  
2: In getDependencies(pkgs, dependencies, available, lib) :
  package ‘zoo’ is not available  

我尝试了几个不同的镜子,但我一直收到同样的错误......动物园在大多数镜子中不可用还是出了什么问题?

4

1 回答 1

11

请参阅常见问题解答 2.19。或者,或者,在 rseek.org 上快速搜索“无法连接到端口 80 上的 'cran.r-project.org'

阅读常见问题解答并搜索错误通常可以帮助您解决大多数问题。

于 2011-05-18T18:35:26.083 回答