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
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
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?Where did you get the zip file from? Most easily, you can install a package by simply saying install.packages("randomForest") if you have an active internet connection. Anyway, you might want to upgrade your version of R to R-2.2.1 or even R-2.3.0 beta (to be released next monday) and help testing. Uwe Ligges> 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