Skip to content

Running R on MacOS X

3 messages · Jonathan Greenberg, Brian Ripley, Roger D. Peng

#
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?

Also, update.packages() works for some packages, but not all -- it often
fails in the compilation.  I have g77 installed, as well as gnome.

--j

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Jonathan Greenberg
Graduate Group in Ecology, U.C. Davis
http://www.cstars.ucdavis.edu/~jongreen
http://www.cstars.ucdavis.edu
AIM: jgrn307       
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Sat, 16 Mar 2002, Jonathan Greenberg wrote:

            
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.
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.
#
Where does it fail?  On which packages?  What kinds of errors do you get?

-roger
_______________________________
UCLA Department of Statistics
rpeng at stat.ucla.edu
http://www.stat.ucla.edu/~rpeng
On Sat, 16 Mar 2002, Jonathan Greenberg wrote:

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