[R] installing contributed programs

Duncan Murdoch murdoch at stats.uwo.ca
Thu Mar 26 17:24:53 CET 2009


On 3/26/2009 10:11 AM, David Covell wrote:
> Dear R-help,
> 
> I'm sure this is contained within the documentation, but I have not yet located
> it (with good effort nonetheless). I am attempting to install the binary for
> randomForests. After unpacking the zip, I extracted the contents to
> my R-2.8.1 folder. However, when I try to execute the command
> library(randomForest) I get an unable to locate error. Is there another
> library request that needs to be made? I see that the zip extraction created
> the RandomForest folder under the R-2.8.1 folder. Is there a way to
> specify this location within the library command?

You should let R do the installation.  The easiest way on Windows (which 
is implied by the .zip extension on your binary, but you should have 
said...) is within the Rgui:  menu item "Packages|Install package(s) 
from local zip files" (or even better, install from CRAN).

Duncan Murdoch




More information about the R-help mailing list