Skip to content

Cannot Install Packages

2 messages · Jason Hernandez, Uwe Ligges

#
I have been trying to install the package "reshape2" using the code:
I get the following return:

Installing package into ?C:/Users/Jason/Documents/R/win-library/3.0?
(as ?lib? is unspecified)
Warning: unable to access index for repository http://cran.cs.wwu.edu/bin/windows/contrib/3.0
Warning message:
package ?reshape2? is not available (for R version 3.0.2)
When I went to the list of packages to look up reshape2, it said this package needs compilation. I did not see an indication of which R versions it is available for.
I went to the R for Windows FAQ, but it did not seem very helpful. The relevant sentences seemed to be:
"For packages with code that needscompilation you will need to collect and install several tools: you candownload them via the portal athttp://www.murdoch-sutherland.com/Rtools/. Once you have doneso, just run R CMD INSTALL pkgname at a Windows commandprompt."
I did the download, but I do not understand the meaning of the last sentence, since R does not recognize R CMD INSTALL as a valid code line, and the usual install.packages("reshape2") still returns the same error. What did I miss?
Jason Hernandez
#
On 10.05.2016 19:14, Jason Hernandez via R-help wrote:
The mirror does not exist, perhaps choose another one?


Best,
Uwe Ligges