Dear R-experts, I'm a new R user and so far have no complains about ir. However I still can't figure out how to install packages. I'm running the R 1.5.0 (Carbon) under OS X. I just downloaded some packages from CRAN (Tree, among them) and moved them to the library folder in R. When the R session started, I was expecting that using the command library(tree) would do it, but the program replied the following message: > library(tree) Warning message: Package `Tree' contains no R code in: library(Tree) Could someone tell me what's missing? Fredy Mej?a -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi, On Wed, 29 May 2002, [ISO-8859-1] Fredy Mej?a wrote: |Dear R-experts, | | I'm a new R user and so far have no complains about ir. However I |still can't figure out how to install packages. I'm running the R 1.5.0 |(Carbon) under OS X. I just downloaded some packages from CRAN (Tree, |among them) and moved them to the library folder in R. When the R session |started, I was expecting that using the command library(tree) would do it, | but the program replied the following message: | | > library(tree) |Warning message: |Package `Tree' contains no R code in: library(Tree) Try to read FAQ on CRAN. It is explained there as well as in V&R 'S Programming'. It is not enough to copy the library file. You have to install it. On linux, you simply type (on OS prompt), $ R CMD INSTALL /path/to/pkg_version.tar.gz I think, it is similar in OS X. Basically, it compiles the package for you. There are also pre-compiled recommended packages for OS X on CRAN. Best, Ott -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thank you all for your valuable help. Although I still haven't figured out how to install new packages, I decided to use the compiled versions for R 1.4.1, and they worked just fine. Thanks again. Fredy Mej?a -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._