none

Peter Dalgaard BSA
2002-09-18T22:35:29Z

"Dr. Chris Wills" <cwills@ucsd.edu> writes:

> 	Two questions for you:
> 	1)  I cannot figure out how to sort one column in an array,
> and drag the rest of the values that occupy the other columns along
> with the sorted values in the first column.  What I would like to end
> up with is an array that is the same size and dimensions as the first
> array.  When I try various configurations of sort, I keep getting
> vectors instead of the array I started with, and I have not found a
> way to make sort "bind" other values to the sorted values.

o <- order(x[,1])
x[o,]

> 	2)  I used a PC version of R over the summer, and was able to
> use rowSum, colSum and similar functions.  These (and other things) do
> not seem to be enabled on the Mac OS9 version.  Are they enabled on
> the OS10 version?  If not, how can I enable them?

Versions of R with the same version number generally doe the same
thing on all platforms, so you must have been using an older one.


>  And how do I
> download the OS10 version?  My computer does not recognize the .gz
> files on the website http://cran.r-project.org/bin/macosx/atlas/.

I believe the one you want is this file

http://cran.r-project.org/bin/macos/base/rm151_FULL.sit



--
   O__  ---- Peter Dalgaard             Blegdamsvej 3
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907