[R] R on a cluster head node and memory limits

2012-09-24 Thread Sean Davis
On our local cluster, users relatively routinely crash the head node by doing simple and silly things that inadvertently eat all memory and crash the head node. I read a bit about memory limits, but I am still a bit unclear as to whether memory limits can be imposed a the R level under linux. Cur

[R] Dependency-aware scripting tools for R

2012-04-19 Thread Sean Davis
There are numerous tools like scons, make, ruffus, ant, rake, etc. that can be used to build complex pipelines based on task dependencies. These tools are written in a variety of languages, but I have not seen such a thing for R. Is anyone aware of a package available? The goal is to be able to

Re: [R] [BioC] after updating biomaRt cannot connect any more

2010-05-31 Thread Sean Davis
On Mon, May 31, 2010 at 8:03 AM, wrote: > I recently updated R 2.10.1 Patched (2010-02-20 r51163) > This morning I reinstalled biomaRt using biocLite. > Now I can no more connect to biomaRt and even the following instruction is > hanging for a while until > the same error message pops up. > > l

[R] Fwd: [R-sig-DB] Package RPostgreSQL : Problem with dbWriteTable

2010-05-18 Thread Sean Davis
IER** **Centre d'Études Techniques de l'Équipement Nord - Picardie Département Infrastructures **Trafic – Socio-économie *2, rue de Bruxelles, BP 275 59019 Lille cedex FRANCE Tél: +33 (0) 3 20 49 60 70 Fax: +33 (0) 3 20 49 63 69 Le 18/05/2010 13:27, > Sean Davis (par Internet, dépÃ

Re: [R] [R-sig-DB] Package RPostgreSQL : Problem with dbWriteTable

2010-05-18 Thread Sean Davis
On Wed, May 12, 2010 at 2:44 AM, PALMIER Patrick - CETE NP/INFRA/TRF < patrick.palm...@developpement-durable.gouv.fr> wrote: > Hello, > > I have a probem with dbWriteTable method of package RPostrgreSQL > The table is well added in the database but R doesn't succeed in > inserting rows > But If I

[R] read.socket and timeout

2010-04-12 Thread Sean Davis
I have an external process that is listening to and responding on a port. This is working fine. If the external service is not running, though, read.socket does not return and I do not see a way to interrupt it. Is there a general way to deal with this situation to have a timeout or of testing a

Re: [R] [BioC] Suppress output from getGEO

2010-01-29 Thread Sean Davis
On Fri, Jan 29, 2010 at 10:04 AM, Craig P. Pyrame wrote: > Dear R-ers, > > I am using getGEO to download expression data from the Gene Expression > Omnibus. With default settings, when a file is downloaded and parsed, lots > of dotted lines are printed in the terminal, like this: > > .. ..

Re: [R] Reading 4-byte float into R from binary file

2009-06-24 Thread Sean Davis
On Wed, Jun 24, 2009 at 2:55 PM, Duncan Murdoch wrote: > On 6/24/2009 2:41 PM, Sean Davis wrote: > >> A simple question, I hope I have a binary file format that I want to >> slurp into R using readBin. There are a couple of fields in the file that >> are 4-byte

[R] Reading 4-byte float into R from binary file

2009-06-24 Thread Sean Davis
A simple question, I hope I have a binary file format that I want to slurp into R using readBin. There are a couple of fields in the file that are 4-byte floats. Since R has no "float" data type (4-byte), I am wondering how to go about this task. I could simply do all the work in C, but the

Re: [R] Running R under Sun Grid Engine with OpenMPI tight integration

2008-12-04 Thread Sean Davis
... No, I haven't gotten things to work. Even under openmpi without SGE, I have R crashes on a regular basis when using Rmpi-0.5.5, so I haven't really pursued it further. Sean > On Thu, Oct 9, 2008 at 3:18 PM, Sean Davis <[EMAIL PROTECTED]> wrote: >> We have spent some

[R] Docbook equivalent of Sweave

2008-10-25 Thread Sean Davis
I have been looking a bit at docbook as an alternative to latex. However, Sweave is a very nice way to deal with documents mixing R code, figures, and text as well as markup. I saw a couple of references in the email archives that people have been experimenting with combinations of tools (includin

Re: [R] SVG and user interaction

2008-10-17 Thread Sean Davis
ge- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> project.org] On Behalf Of Sean Davis >> Sent: Friday, October 17, 2008 11:06 AM >> To: r-help@r-project.org >> Subject: [R] SVG and user interaction >> >> Is there a way to make SVG files conta

[R] SVG and user interaction

2008-10-17 Thread Sean Davis
Is there a way to make SVG files containing links (for use in a browser) using any of the R graphics packages or devices? Thanks, Sean __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide htt

[R] Running R under Sun Grid Engine with OpenMPI tight integration

2008-10-09 Thread Sean Davis
We have spent some time setting up Sun Grid Engine and OpenMPI on a group of linux boxes. I have created a parallel environment and everything seems to be working. I have Rmpi 0.5.5-5 installed on all machines. I would like to start an interactive R session using, say, 8 processors and then star

Re: [R] Sweave and echoing code chunks conditionally

2008-10-06 Thread Sean Davis
On Mon, Oct 6, 2008 at 3:30 PM, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > Try > > \SweaveOpts{echo=FALSE} > or > \SweaveOpts{echo=TRUE} Perfect (and obvious). Thanks. Sean > to set the default for echo one way or the other. > > On Mon, Oct 6, 2008

[R] Sweave and echoing code chunks conditionally

2008-10-06 Thread Sean Davis
I have started to use Sweave to prepare reports for "end-users" of statistical analyses. For these users, there is not generally interest in the code used to accomplish the analysis, but only the results. However, sometimes I would like to prepare the same document, but with code chunks echoed, f

Re: [R] gsub and "\"

2008-07-09 Thread Sean Davis
> [1] "abc\\'s" >> cat(gsub("'","'","abc's")) > abc\'s > > Which I think is what you were thinking it would be. So when you > write it out to a file, it will be correct. Thanks, Jim. That does it. Se

[R] gsub and "\"

2008-07-09 Thread Sean Davis
This is hopefully a simple question. I am trying to escape single quotes like so: abc's >> abc\'s However, I cannot find an easy way to do that with gsub: gsub("'","'","abc's") # returns "abc\\'s" How can I get a single \ in the output? Thanks, Sean

Re: [R] Rmpi building

2007-10-15 Thread Sean Davis
Dirk Eddelbuettel wrote: > Sean, > > On 15 October 2007 at 12:03, Sean Davis wrote: > | I am trying to build Rmpi on Suse 10.2 linux. While I would like to use > | the RPM version of liblam-7.1.2, I have not been able to do so. It > | seems that Rmpi makes some pretty stron

[R] Rmpi building

2007-10-15 Thread Sean Davis
I am trying to build Rmpi on Suse 10.2 linux. While I would like to use the RPM version of liblam-7.1.2, I have not been able to do so. It seems that Rmpi makes some pretty strong assumptions when trying to guess the MPI version. Has anyone successfully built Rmpi against lam-7.1.2 recently usin