[BioC] Reading 80 CEL files.

Sean Davis sdavis2 at mail.nih.gov
Wed Nov 14 12:04:16 CET 2007


On Nov 14, 2007 4:27 AM, Pure Lu <ppure379 at yahoo.com.tw> wrote:
>
>
> Hello~~~
>
>
>
> I am trying to read 80 HG-U133A arrays so I did as follows:
>
>
>
> > memory.limit(size=4095)
>
> > options(object.size=10000000000, digits=8, scipen=100, memory=3200483647, contrasts=c("contr.treatment", "contr.poly"))
>
> > library(affy)
>
> > cel.file <- ReadAffy(celfile.path = "D://CEL)
>
>
>
> However, it showed
>
>
>
> Error: cannot allocate vector of size 309.4 Mb
>
>
>
> I have tried adding the --max-mem-size=2Gb tag onto my shortcut.
>
> The machine has 2G RAM and a 3.30GHz processor.
>
> Is there any idea to let R use more memory anywhere?

Hi, Pure.

Since the machine you are using has only 2Gb of RAM and is a Windows
machine (it appears), it is unlikely that you will be able to load all
80 of the CEL files at once using ReadAffy.  You can load then in a
few chunks if you just want to check QC measures, etc.  If you simply
want to normalize all those arrays, try using the justRMA() function,
which is much less memory-intensive than ReadAffy.

Sean



More information about the Bioconductor mailing list