Stefano Iacus
jago@mclink.it
Thu, 19 Sep 2002 09:15:55 +0200
--Apple-Mail-2-425464314
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=ISO-8859-1;
format=flowed
On Gioved=EC, settembre 19, 2002, at 12:13 , Dr. Chris Wills wrote:
> To: r-help-request@lists.R-project.org
>
> From: "Dr. Chris Wills" <cwills@ucsd.edu>
>
> Subject: Questions about sorting and functions
>
> Cc:
>
> Bcc:
>
> X-Attachments:
> Dear R-Gang -
> =A0=A0Two questions for you:
> =A01)=A0 I cannot figure out how to sort one column in an array, and =
drag=20
> the rest of the values that occupy the other columns along with the=20
> sorted values in the first column.=A0 What I would like to end up with =
is=20
> an array that is the same size and dimensions as the first array.=A0 =
When=20
> I try various configurations of sort, I keep getting vectors instead =
of=20
> the array I started with, and I have not found a way to make sort=20
> "bind" other values to the sorted values.
> =A0=A0=A02)=A0 I used a PC version of R over the summer, and was able =
to use=20
> rowSum, colSum and similar functions.=A0 These (and other things) do =
not=20
> seem to be enabled on the Mac OS9 version.=A0
rowsum and rowSums (<- look at the final "s") are both available on any=20=
version of R for MacOS 8.6 to X
stefano
> Are they enabled on the OS10 version?=A0 If not, how can I enable =
them?=A0=20
> And how do I download the OS10 version?=A0 My computer does not =
recognize=20
> the .gz files on the website http://cran.r-
> project.org/bin/macosx/atlas/.
> =A0=A0Many thanks,
> =A0=A0=A0Chris Wills
> --
> Christopher Wills
> Professor of Biology
> Division of Biological Sciences
> University of California, San Diego
> La Jolla CA 92093
>
> Phone 858-534-4113
> Fax 858-534-7108
> e-mail cwills@ucsd.edu
>
> --
>
> Christopher Wills
> Professor of Biology
> Division of Biological Sciences
> University of California, San Diego
> La Jolla CA 92093
>
> Phone 858-534-4113
> Fax 858-534-7108
> e-mail cwills@ucsd.edu
--Apple-Mail-2-425464314
Content-Transfer-Encoding: quoted-printable
Content-Type: text/enriched;
charset=ISO-8859-1
On Gioved=EC, settembre 19, 2002, at 12:13 , Dr. Chris Wills wrote:
<excerpt>To: r-help-request@lists.R-project.org
From: "Dr. Chris Wills" <<cwills@ucsd.edu>
Subject: Questions about sorting and functions
Cc:
Bcc:
<color><param>0000,0000,0000</param>X-</color>Attachments:
Dear R-Gang -
=A0=A0Two questions for you:
=A01)=A0 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.=A0 What I would like to end up with
is an array that is the same size and dimensions as the first array.=A0
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.
</excerpt>
<excerpt>=A0=A0=A02)=A0 I used a PC version of R over the summer, and =
was able
to use rowSum, colSum and similar functions.=A0 These (and other things)
do not seem to be enabled on the Mac OS9 version.=A0=20
</excerpt>
rowsum and rowSums (<<- look at the final "s") are both available on
any version of R for MacOS 8.6 to X
stefano
<excerpt>Are they enabled on the OS10 version?=A0 If not, how can I
enable them?=A0 And how do I download the OS10 version?=A0 My computer
does not recognize the .gz files on the website
http://cran.r-project.org/bin/macosx/atlas/.
=A0=A0Many thanks,
=A0=A0=A0Chris Wills
<fixed><bigger>--</bigger></fixed>
Christopher Wills
Professor of Biology
Division of Biological Sciences
University of California, San Diego
La Jolla CA 92093
Phone 858-534-4113
Fax 858-534-7108
e-mail cwills@ucsd.edu
<fixed><bigger>--=20
</bigger></fixed>
Christopher Wills
Professor of Biology
Division of Biological Sciences
University of California, San Diego
La Jolla CA 92093
Phone 858-534-4113
Fax 858-534-7108
e-mail cwills@ucsd.edu
</excerpt>=
--Apple-Mail-2-425464314--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._