Peter Dalgaard BSA
19 Sep 2002 00:35:29 +0200
"Dr. Chris Wills" <firstname.lastname@example.org> 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])
> 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
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (email@example.com) FAX: (+45) 35327907
r-devel 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: firstname.lastname@example.org