[R] problem executing tree package

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Aug 17 11:09:59 CEST 2001


On Fri, 17 Aug 2001, srinivasa raghavan wrote:

> Hi R-users,
>
>    I am a  new user to R language for statistical
> computing. I use a Windows 98 version. I downloaded
> tree add-on package to the R base system( I verified
> the local package submenu for the list of installed
> packages).
>
>    But when I executed the following sample code given
> in the manual. I received an error "Couldn't find
> function tree"
>
> > data(iris)
> > ir.tr<- tree(species~.,iris)
>
> any comment or suggestion will be appreciated

You forgot library(tree), (or at least forgot to tell us you did it).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list