Re: [R] finding the most frequent row

2004-12-11 Thread Kjetil Brinchmann Halvorsen
bogdan romocea wrote: Here's something that works. I'm sure there are better solutions (in particular the paste part - I couldn't figure out how to avoid typing a[i,1], ..., a[i,10]). a - matrix(nrow=1000,ncol=10) for (i in 1:1000) for (j in 1:10) a[i,j] - sample(1:0,1) b -

Re: [R] Beginners questions on matplot and legend

2004-12-11 Thread Martin Maechler
judith == judith baltsar [EMAIL PROTECTED] on Sat, 11 Dec 2004 10:35:39 +0100 writes: judith Dear list members, I have a problem that is probably judith simple to solve but at the moment I have no clue at judith all: judith I have done a simple matplot matplot(x,y,pch=symb,

Re: [R] cbind() and factors.

2004-12-11 Thread Frank E Harrell Jr
Gabor Grothendieck wrote: michael watson (IAH-C michael.watson at bbsrc.ac.uk writes: : : Hi : : I'm seeing some odd behaviour with cbind(). My code is: : : cat - read.table(cogs_category.txt, sep=\t, header=TRUE, : quote=NULL, colClasses=character) : colnames(cat) : [1] Code

RE: [R] finding the most frequent row

2004-12-11 Thread Liaw, Andy
From: Kjetil Brinchmann Halvorsen bogdan romocea wrote: Here's something that works. I'm sure there are better solutions (in particular the paste part - I couldn't figure out how to avoid typing a[i,1], ..., a[i,10]). a - matrix(nrow=1000,ncol=10) for (i in 1:1000) for (j in

[R] applying var(base)

2004-12-11 Thread assuncao . senra
Hello, I have the output of loglin, the parameters of a estimated loglinear models. They are in list form. How can I compute the variance of these parameters? Thanks __ Sabe quanto gasta com a sua ligação à Internet? Verifique aqui:

[R] Parallel computing in Splus?

2004-12-11 Thread Lun Li
Dear All, Does anyone know if there is any function or package provides parallel computing in splus? Thanks in advance. Lun __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

[R] graphs - saving and multiple

2004-12-11 Thread stephenc
Hi I am doing something like this: hist(maximumPitch, xlab=Maximum Pitch in Hertz) which produces a nice histogram but what do I do to get two or three, etc on one page? I want to save the resulting file to an eps. I can find: postscript(ex.eps) which I then run something like my

[R] Paths for Shell Scripts called from R

2004-12-11 Thread Damian Betebenner
Hello list, I suspect this is more a linux question than an R question, but I'll describe my situation in case anyone here knows of an elegant solution. I'm using Sweave and R to create thousands of customized reports. Within an R loop, I have R create a table.tex file using the CAT function

Re: [R] Paths for Shell Scripts called from R

2004-12-11 Thread Fernando Henrique Ferraz P. da Rosa
Damian Betebenner writes: Hello list, I suspect this is more a linux question than an R question, but I'll describe my situation in case anyone here knows of an elegant solution. ... My bash shell script uses a standard for loop to loop over all the .tex file in a directory for f in

Re: [R] Paths for Shell Scripts called from R

2004-12-11 Thread Peter Dalgaard
Damian Betebenner [EMAIL PROTECTED] writes: Does anyone have an idea of how I can pass the appropriate path to my shell script from within R? Anything wrong with just setting the PATH variable? E.g. Sys.putenv(PATH=paste(Sys.getenv(PATH),/home/bs/pd/scripts,sep=:)) system(SalesRank) Sun Dec

Re: [R] graphs - saving and multiple

2004-12-11 Thread Jim Lemon
stephenc wrote: ... but I don't get anything in my eps file! If you mean you get a blank image or nothing when you import the resulting PS file, you may need to set onefile=FALSE. Jim __ [EMAIL PROTECTED] mailing list

[R] Beginners questions on matplot and legend

2004-12-11 Thread judith . baltsar
Dear list members, I have a problem that is probably simple to solve but at the moment I have no clue at all: I have done a simple matplot matplot(x,y,pch=symb, xlab=Axis 1, ylab=Axis 2, main=PCA of plot x trait matrix) x has the X-axis values, y has four columns of y-values and now I want to