[R] installation of package "randomForest" failed

Peter Ehlers ehlers at math.ucalgary.ca
Tue Apr 18 20:37:10 CEST 2006


Ruth,

Does your R know about the library
  "C://Programme//R//rw2011//library//randomForest"
?

I suspect that you want
  lib = "C://Programme//R//rw2011//library"
in your install.packages() call. Or you could just leave the 'lib='
argument at its default.

Peter Ehlers


Ruth Meili wrote:
> Hello
> 
> I'd like to try out some functions in the package randomForest. Therefore, 
> I did install this package. However, it is not possible to load the 
> library, although I have R-Version 2.1.1 (i.e. later than 2.0.0). The 
> commands I used and the Answers/Error from R is as follows:
> 
>  > 
> install.packages("C://Programme//R//rw2011//library//randomForest_4.5-16.zip", 
> lib="C://Programme//R//rw2011//library//randomForest",repos = NULL)
> package 'randomForest' successfully unpacked and MD5 sums checked
> updating HTML package descriptions
>  > library(randomForest)
> Fehler in library(randomForest) : 'randomForest' ist kein gültiges Paket -- 
> vor 2.0.0 installiert?
> 
> I run in this problem for the first time. Until now, I used to install new 
> packages by copying the*.zip-file to the "library"-directory in the 
> rw2011-directory. This seam not to work anymore. So I tried using the 
> function install.package(), but I did not success.
> 
> Does anybody know the Problem? I did not find any hints in the NEWS.
> Thanks anyway.
> Ruth
> 
> 
> 
> 
> 
> 
> **********************************************************************
> This footnote confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> 
> www.clearswift.com
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list