Question

I have attempted to download R package memoise:

 install.packages("memoise")

However, I have recevied the following error message:

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/memoise_0.1.zip' Warning in install.packages : cannot open: HTTP status was '404 Not Found' Error in download.file(url, destfile, method, mode = "wb", ...) : cannot open URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/memoise_0.1.zip' Warning in install.packages : download of package ‘memoise’ failed`

I am connected to the internet and the WWW. In addition, I am connected to a work network. I am using the RStudio IDE.

Does anyone have any advice for how I troubleshoot this problem?

Was it helpful?

Solution

as I can see there is no "memoise_0.1.zip" at http://cran.rstudio.com/bin/windows/contrib/3.0/ . However, there is the "memoise_0.2.1.zip" file.

What version of RStudio IDE are you using? Do you have memoise already installed? Maybe you should try to update the memoise package.

OTHER TIPS

I returned to this problem this morning. I restarted RStudio and tried the following again:

install.packages("memoise")

This time I received the following response:

Installing package into ‘\\oxdc/userdata/jolyon.faria/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/memoise_0.2.1.zip'
Content type 'application/zip' length 16813 bytes (16 Kb)
opened URL
downloaded 16 Kb

This time it (unexpectedly) 'found' the correct webpage so problem solved. Thanks for your help.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top