1. Could it be that your computer is behind a firewall? If so, try reading
the R for Windows FAQ.
2. Please ask R-related question on R-help instead of S-news.
Andy
> From: cheng wu
>
> Hi, Andy
>
> Thank you for your answer.
>
> Why I can't load CRAN packages?
>
> the error message is:
>
> > {a <- CRAN.packages()
> + install.packages(select.list(a[,1],,TRUE), .libPaths()[1],
> available=a)}
> trying URL `http://cran.r-project.org/bin/windows/contrib/PACKAGES'
> unable to connect to 'cran.r-project.org'.
> Error in download.file(url = paste(contriburl, "PACKAGES",
> sep = "/"), :
> cannot open URL
> `http://cran.r-project.org/bin/windows/contrib/PACKAGES'
>
>
>
> >From: "Chushu Gu" <[EMAIL PROTECTED]>
> >To: "cheng wu" <[EMAIL PROTECTED]>
> >Subject: Fw: [S] tree function in R language
> >Date: Wed, 28 Jul 2004 09:14:48 -0400
> >
> >
> >----- Original Message -----
> >From: "Liaw, Andy" <[EMAIL PROTECTED]>
> >To: "'chushu Gu'" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> >Sent: Tuesday, July 27, 2004 11:22 PM
> >Subject: RE: [S] tree function in R language
> >
> >
> > > Have you read the (latest edition of the) book for which
> the package
> you
> >are
> > > using supports? There are differences in S-PLUS and R
> (and the 4th
> >edition
> > > of MASS supports both, thus ought to tell you this particular
> difference
> > > between the two). tree() in S-PLUS is written originally
> by Clark and
> > > Pregibon. If you want that functionality in R, you need
> to load the
> >`tree'
> > > package (available on CRAN), which is an independent
> implementation by
> one
> > > of the co-authors of MASS.
> > >
> > > Another hint: Look in the `scripts' subdirectory of where
> the `MASS'
> >package
> > > is installed.
> > >
> > > Andy
> > >
> > > > From: chushu Gu
> > > >
> > > > Hi all,
> > > >
> > > > I am using R 1.8.1, I have the following code,
> > > >
> > > > library(MASS)
> > > > data(iris)
> > > > ir.tr <- tree(Species ~., iris)
> > > > ir.tr
> > > > summary(ir.tr)
> > > >
> > > >
> > > > I got the following message:
> > > >
> > > > Error: couldn't find function "tree"
> > > >
> > > > I don't the reason, as I already load the library "MASS".
> > > >
> > > > Could anyone tell me the possible reasons?
> > > >
> > > > Thanks,
> > > >
> > > > Chushu Gu
> > > >
> > > >
> _________________________________________________________________
> > > > Share a single photo or an entire photo slide show right inside
> MSN(r)
> > > > Messenger.
> > > > http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&
> > > > DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
> > > > Start enjoying all the benefits of MSN(r) Premium right now
> > > > and get the
> > > > first two months FREE*.
> > > >
> > > >
> --------------------------------------------------------------------
> > > > This message was distributed by
> [EMAIL PROTECTED] To
> > > > unsubscribe send e-mail to
> [EMAIL PROTECTED]
> with
> > > >
> > > >
> > >
> > >
> > >
> --------------------------------------------------------------
> ------------
> >----
> > > Notice: This e-mail message, together with any
> attachments, contains
> >information of Merck & Co., Inc. (One Merck Drive,
> Whitehouse Station, New
> >Jersey, USA 08889), and/or its affiliates (which may be
> known outside the
> >United States as Merck Frosst, Merck Sharp & Dohme or MSD
> and in Japan, as
> >Banyu) that may be confidential, proprietary copyrighted
> and/or legally
> >privileged. It is intended solely for the use of the
> individual or entity
> >named on this message. If you are not the intended
> recipient, and have
> >received this message in error, please notify us immediately
> by reply
> e-mail
> >and then delete it from your system.
> > >
> --------------------------------------------------------------
> ------------
> >----
> > >
>
>
>
>
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html