[R] Installation on 64bit redhat linux question

2010-05-27 Thread Paul Geeleher
find "libg2c.so". It seems 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

[R] Rmpi installation problems on slave nodes

2010-04-26 Thread Paul Geeleher
oaded I wonder does anybody have an ideas as to what might be wrong here? 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.bioinformaticstu

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 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 > wrote: >> >> I've got a matrix w

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

2009-05-27 Thread Paul Geeleher
but I 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-hel

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:[EMA

[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 rowna