Re: [Rd] Compression of largish expression array files in the DAAGbio/inst/doc directory?

From: Prof Brian Ripley <>
Date: Sat, 09 Apr 2011 07:58:41 +0100 (BST)

As far as I can see read.maimages is built on top of R's own file-reading facilties, and they all read compressed (but not zipped) files as from R 2.10.0.

So simply use

gzip -9 coral55?.spot

and rename the files back to *.spot.

If you need more compression, use xz -9e. (You can also do this in R: readLines() on the file, writeLines() using gzfile or xzfile.)

You will need to make the package 'Depends: R (>= 2.10)'.

On Sat, 9 Apr 2011, John Maindonald wrote:

> The inst/doc directory of the DAAG package has 6 files, ... that
> are around 0.85 MB each. It would be useful to be able to zip then, but that
> as matters stand interferes with the use of the Sweave file that uses them to
> demonstrate input of expression array data that is in the "spot" format. They
> do not automatically get unzipped when required. I have checked that
> read.maimages (in limma) does not, unless I have missed something, have
> an option for reading zipped files. Is there any way to get around this without
> substantially complicating the exposition in marray-notes.pdf (also in the
> inst/doc subdirectory)?
> John Maindonald email:
> phone : +61 2 (6125)3473 fax : +61 2(6125)5549
> Centre for Mathematics & Its Applications, Room 1194,
> John Dedman Mathematical Sciences Building (Building 27)
> Australian National University, Canberra ACT 0200.
> ______________________________________________
> mailing list

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Sat 09 Apr 2011 - 07:01:07 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 09 Apr 2011 - 10:30:42 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive