Skip to content
Prev 11987 / 398502 Next

gzfile() produces large files

I would guess that this is an artifact of compressionalogor.:

under a unix shell:

 > cat tmp1.txt
1 2 3 > ls -l tmp1.txt
-rw-------   1 y0004379   users            5 Juni 27 17:31 tmp1.txt
 > gzip tmp1.txt
 > ls -l tmp1.txt.gz
-rw-------   1 y0004379   users           34 Juni 27 17:31 tmp1.txt.gz
 

#####on windows r-1.3.0:
[1] "a-----      4093 27-Jun-101 16:50 c:/temp/temp.txt"
close(my.con)
[1] "a-----    193200 27-Jun-101 17:24 c:/temp/temp.gz"

on large file the gzip - alogorithm is effective!

Peter
> ls -l tmp1.txt.bz2
-rw-------   1 y0004379   users           43 Juni 27 17:31 tmp1.txt.bz2
 >
On Wed, Jun 27, 2001 at 03:11:37PM +0100, Prof Brian D Prof Brian D Ripley wrote:

  
    
Message-ID: <20010627174043.A28285@rzpool02.pool.rz.tu-bs.de>
In-Reply-To: <Pine.LNX.4.31.0106271502460.2953-100000@gannet.stats>; from ripley@stats.ox.ac.uk on Wed, Jun 27, 2001 at 03:11:37PM +0100