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? Thanks for your help, David
Hi r-help-bounces at r-project.org napsal dne 26.03.2009 15:11:32:> Dear R-help, > > I'm sure this is contained within the documentation, but I have not yetlocated> it (with good effort nonetheless). I am attempting to install the binaryfor> 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 extractioncreated> the RandomForest folder under the R-2.8.1 folder. Is there a way toIt shall be in /library subfolder of your R -2.8.1 main directory. If it is not, just copy it there. Regards Petr> specify this location within the library command? > > Thanks for your help, > David > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.
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