[R] Cannot access packages

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Jan 7 20:00:55 CET 2009



JLucke at ria.buffalo.edu wrote:
> Although I have installed R many times on many machines without problems, 
> I have recently encountered a problem with accessing packages.  R has been 
> installed successfully with the "--internet2" option. The session info is 
> below. 
>> sessionInfo()
> R version 2.8.1 (2008-12-22) 
> i386-pc-mingw32 
> 
> locale:
> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United 
> States.1252;LC_MONETARY=English_United 
> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base 
> loaded via a namespace (and not attached):
> [1] tools_2.8.1
> 
> When I try to load a package ("chron" in this example) from the CMU 
> mirror, I get the following error message:
> 
>> utils:::menuInstallPkgs()
> --- Please select a CRAN mirror for use in this session ---
> trying URL 
> 'http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/2.8/chron_2.3-28.zip'
> Error in download.file(url, destfile, method, mode = "wb", ...) : 
>   cannot open URL 
> 'http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/2.8/chron_2.3-28.zip'
> In addition: Warning message:
> In download.file(url, destfile, method, mode = "wb", ...) :
>   cannot open: HTTP status was '403 Forbidden (Blocked by NG)'
> Warning in download.packages(p0, destdir = tmpd, available = available,  :
>   download of package 'chron' failed
> 
> 
> This error applies to ANY package. The option --internet2 must be used. If 
> not, then I cannot even access the mirror. Can anyone help me out?  Could 
> this be a firewall problem?

Mirror problem, I guess. Just try another mirror.

Uwe Ligges



> Joe
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list