Hi There is something weird going on with the "tree" package version 1.0-16. So I want to download an updated tree package. I found that R website has version 1.0-18. I want to try this one and see how the tree algorithm is performing. What is the best way to download tree package version 1.0-18 which can be found in index of src/contrib at www.r-project.org? So far I tried two different ways none of which has worked for me: 1) I tried to download it by running the command install.packages("tree","C:\Program Files\R\rw1081\library","http://cran.r-project.org/src/contrib",destdir"C:\Program <http://cran.r-project.org/src/contrib",destdir="C:/Program> Files\R\rw1081\library",installWithVers=TRUE) But it tries to connect to http://cran.r-project.org/src/contrib/bin/windows/contrib/1.8/PACKAGES <http://cran.r-project.org/src/contrib/bin/windows/contrib/1.8/PACKAGES> instead of the URL I enter above. 2) Also I tried to download it by copying the zip file first tree_1.0-18.tar.gz <http://cran.r-project.org/src/contrib/tree_1.0-18.tar.gz> in my directory and then using the "Packages->Install package from local -zip files" in the R menu. How can I download this version of tree? Thanks. Zeynep [[alternative HTML version deleted]]
Kalaylioglu, Zeynep (IMS) wrote:> Hi > There is something weird going on with the "tree" package version > 1.0-16. > So I want to download an updated tree package. I found that R website > has version 1.0-18. I want to try this one and see how the tree > algorithm is performing. > What is the best way to download tree package version 1.0-18 which can > be found in index of src/contrib at www.r-project.org? > So far I tried two different ways none of which has worked for me: > 1) I tried to download it by running the command > install.packages("tree","C:\Program > Files\R\rw1081\library","http://cran.r-project.org/src/contrib",destdir> "C:\Program <http://cran.r-project.org/src/contrib",destdir="C:/Program> > Files\R\rw1081\library",installWithVers=TRUE) > But it tries to connect to > http://cran.r-project.org/src/contrib/bin/windows/contrib/1.8/PACKAGES > <http://cran.r-project.org/src/contrib/bin/windows/contrib/1.8/PACKAGES> > instead of the URL I enter above.How about Packages --> Install package(s) from CRAN...? You are making things unnecessarily difficult.> > 2) Also I tried to download it by copying the zip file first > tree_1.0-18.tar.gzZip files don't end with .tar.gz! These are tarred and gzipped source packages that you are almost certainly not set up to install. Your best bet is to try the simplest things first, which on Windows is to use the Packages menu. Best, Jim> <http://cran.r-project.org/src/contrib/tree_1.0-18.tar.gz> in my > directory and then using the "Packages->Install package from local -zip > files" in the R menu. > > How can I download this version of tree? Thanks. > > Zeynep > > [[alternative HTML version deleted]] > > ______________________________________________ > 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-- James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109
>>>>> "ZKala" == Kalaylioglu, Zeynep (IMS) <KalayliogluZ at imsweb.com> >>>>> on Fri, 15 Oct 2004 15:52:11 -0400 writes:ZKala> Hi There is something weird going on with the "tree" ZKala> package version 1.0-16. So I want to download an ZKala> updated tree package. I found that R website has ZKala> version 1.0-18. I want to try this one and see how ZKala> the tree algorithm is performing. What is the best ZKala> way to download tree package version 1.0-18 which can ZKala> be found in index of src/contrib at ZKala> www.r-project.org? So far I tried two different ways ZKala> none of which has worked for me: 1) I tried to ZKala> download it by running the command ZKala> install.packages("tree","C:\Program ZKala> Files\R\rw1081\library","http://cran.r-project.org/src/contrib",destdir ZKala> "C:\Program ZKala> <http://cran.r-project.org/src/contrib",destdir="C:/Program> ZKala> Files\R\rw1081\library",installWithVers=TRUE) But it ZKala> tries to connect to ZKala> http://cran.r-project.org/src/contrib/bin/windows/contrib/1.8/PACKAGES ZKala> <http://cran.r-project.org/src/contrib/bin/windows/contrib/1.8/PACKAGES> ZKala> instead of the URL I enter above. yes, I see that your R version is 'R (for windows) 1.8.1' and that's probably why it tries to get package for that version. If you want to upgrade packages, I strongly recommend to first upgrade R to the current version 2.0.0 (or maybe "2.0.0 patched") -- and then follow the advice from James MacDonald. Martin Maechler, ETH Zurich ZKala> 2) Also I tried to download it by copying the zip ZKala> file first tree_1.0-18.tar.gz ZKala> <http://cran.r-project.org/src/contrib/tree_1.0-18.tar.gz> ZKala> in my directory and then using the "Packages->Install ZKala> package from local -zip files" in the R menu. ZKala> How can I download this version of tree? Thanks. ZKala> Zeynep ZKala> [[alternative HTML version deleted]] ZKala> ______________________________________________ ZKala> R-help at stat.math.ethz.ch mailing list ZKala> https://stat.ethz.ch/mailman/listinfo/r-help PLEASE ZKala> do read the posting guide! ZKala> http://www.R-project.org/posting-guide.html