[R] Running R on MacOS X
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Sun Mar 17 08:38:49 CET 2002
On Sat, 16 Mar 2002, Jonathan Greenberg wrote:
> Hi there -- I downloaded the MacOS X binaries of R and followed the
> instructions on installing it, and when I go to perform a tree function, I
> get the error "Error: couldn't find function "tree"". Do I need to somehow
> preload the function? If so, how do I do that?
What do you want the `tree' function to `perform'? Let me guess that you
want a clone of S-PLUS. In that case the nearest equivalent is in package
`tree' (surprise, surprise) loaded by library(tree), *but* we recommend you
to use the facilities of package rpart, which should be in all binary
distributions of R.
> Also, update.packages() works for some packages, but not all -- it often
> fails in the compilation. I have g77 installed, as well as gnome.
That's a Mac-specific problem (more than 90% of packages compile out of
the box on Unix, Linux and Windows), and your report is far too vague to
make a useful comment on.
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