[R] Doing SQL GROUP BY in R

2004-04-02 Thread JFRI (Jesper Frickmann)
I want a list of the number of times some factor levels appear together, similar to the following SQL statement: SELECT A, B, COUNT(C) FROM TBL GROUP BY A, B How do I do that with a data.frame in R? Thanks, Jesper Frickmann Statistician, Quality Control Novozymes North America Inc. 77 Perry

RE: [R] Memory allocation

2003-12-23 Thread JFRI (Jesper Frickmann)
Go download R version 1.8.1 (or later if available). They fixed something with memory management from 1.8.0 to 1.8.1 which helped me out of the exact same problem. I think it has to do with memory fragmentation; R cannot find any chunk big enough for even a small vector after some time. Kind

RE: [R] Windows Memory Issues

2003-12-10 Thread JFRI (Jesper Frickmann)
I recommend you get the latest version 1.8.1 beta. I also had some memory problems and that fixed it. Kind regards, Jesper Frickmann Statistician, Quality Control Novozymes North America Inc. Tel. +1 919 494 3266 Fax +1 919 494 3460 __ [EMAIL

RE: [R] R 1.8.1 on SUSE 9.0

2003-11-26 Thread JFRI (Jesper Frickmann)
If you go to http://www.rpmfind.net/ and search for libg2c.so.0, it finds http://speakeasy.rpmfind.net//linux/RPM/mandrake/9.1/i586/Mandrake/RPMS/ libf2c0-3.2.2-3mdk.i586.html BR Jesper -Original Message- From: J.R. Lockwood [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003

RE: [R] Memory issues..

2003-11-21 Thread JFRI (Jesper Frickmann)
I just tried out the 1.8.1 beta build, and it works! It ran through all 17 assays without a any problems on Windows 2000. Thanks to the R development team, they did a great job! Kind regards, Jesper Frickmann Statistician, Quality Control Novozymes North America Inc. Tel. +1 919 494 3266 Fax

RE: [R] output files in a different directory

2003-11-21 Thread JFRI (Jesper Frickmann)
Yes it is. Example from my program: workdir - S:\\Stat\\C03202\\R-output\\ ... sink(file=paste(workdir, assayname, -1.txt, sep=)) ... win.metafile(filename = paste(workdir, assayname, -2%02d.wmf, sep=)) You get the idea! Kind regards, Jesper Frickmann Statistician, Quality Control Novozymes