[R] Cannot Install Packages

Jason Hernandez jason.hernandez74 at yahoo.com
Tue May 10 19:14:52 CEST 2016


I have been trying to install the package "reshape2" using the code:
> install.packages("reshape2")
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

	[[alternative HTML version deleted]]



More information about the R-help mailing list