[R] Installation on 64bit redhat linux question

2010-05-27 Thread Paul Geeleher
to be located here on my machine /usr/lib/gcc/x86_64-redhat-linux/3.4.6/. So I'm wondering if this is what is wrong and how I can make the configure script see the directory with this file, I'm a Linux newbie by the way so go easy! Thanks, Paul. -- Paul Geeleher School of Mathematics, Statistics

[R] Rmpi installation problems on slave nodes

2010-04-26 Thread Paul Geeleher
? It seemed to install just fine on my master node by the way. Thanks, Paul. -- Paul Geeleher School of Mathematics, Statistics and Applied Mathematics National University of Ireland Galway Ireland -- www.bioinformaticstutorials.com __ R-help@r

[R] Sort matrix by column 1 ascending then by column 2 decending

2009-05-27 Thread Paul Geeleher
can't seem to work out how to do it in R and haven't been able to find a solution anywhere. Thanks! -Paul. -- Paul Geeleher School of Mathematics, Statistics and Applied Mathematics National University of Ireland Galway Ireland __ R-help@r-project.org

Re: [R] Sort matrix by column 1 ascending then by column 2 decending

2009-05-27 Thread Paul Geeleher
Nice. Works perfectly. On Wed, May 27, 2009 at 2:03 PM, Henrique Dallazuanna www...@gmail.com wrote: Try this: cbind(sort(x[,1]), unlist(tapply(x[,2], x[,1], sort, decreasing = T))) On Wed, May 27, 2009 at 9:39 AM, Paul Geeleher paulgeele...@gmail.com wrote: I've got a matrix with 2

[R] Sort matrix with duplicate row names alphabetically by rowname

2008-05-19 Thread Paul Geeleher
Hi, I've a matrix that contains 4 replicates of each rowname. (4 a's, 4 b's, 4 c's in no particular order) Like this: # c 32 a 1 b 4 c 87 c 34 b 54 a 23 a 12 b 9 a 3 b 87 c 43 There are a couple of more columns but I'm using the above as an example I need to sort it so that the same

Re: [R] Sort matrix with duplicate row names alphabetically by rowname

2008-05-19 Thread Paul Geeleher
Ah, job done, that was simple! Thanks, -Paul. On Mon, May 19, 2008 at 12:24 PM, john seers (IFR) [EMAIL PROTECTED] wrote: Try: mat - mat[order(rownames(mat)), ] --- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Geeleher Sent: 19 May