Re: [R] How to uncompress a gz file in R

2010-09-16 Thread Wonsang You
Dear Henrik and Steven, Thank you for your kind help and guidance even though it is a basic question. I misunderstood that gunzip is a part of not R.utils but utils. I could find out the function in R.utils. Then, it was successful to decompress any gz file as follows. library(R.utils)

Re: [R] How to uncompress a gz file in R

2010-09-16 Thread steven mosher
you are welcome. Henrik's package is an great piece of work. It is worth the time to read through the whole thing and see how you can improve your programs by using other features as well. On Thu, Sep 16, 2010 at 2:16 AM, Wonsang You y...@ifn-magdeburg.de wrote: Dear Henrik and Steven, Thank

Re: [R] How to uncompress a gz file in R

2010-09-15 Thread Wonsang You
Dear Henrik, Thank you so much for your kind help. Unfortunately, I could not find out any function such as 'gunzip' in R.utils package. Instead, I could be successful by using the following command. system(gunzip filename) On the other hand, the function 'gzfile' supports the compression as gz

Re: [R] How to uncompress a gz file in R

2010-09-15 Thread Henrik Bengtsson
Hi. On Wed, Sep 15, 2010 at 9:30 AM, Wonsang You y...@ifn-magdeburg.de wrote: Dear Henrik, Thank you so much for your kind help. Unfortunately, I could not find out any function such as 'gunzip' in R.utils package. Hmm... it's been there since at least 2005. library(R.utils); help(gunzip)

Re: [R] How to uncompress a gz file in R

2010-09-15 Thread steven mosher
Wongsang, Just to be clear R.utils is different than utils As Henrik notes gunzip has been in R.utils ( see http://cran.r-project.org/) for some time. It works like a champ. R.utils is a great package. On Wed, Sep 15, 2010 at 9:30 AM, Wonsang You y...@ifn-magdeburg.de wrote: Dear Henrik,

[R] How to uncompress a gz file in R

2010-09-14 Thread Wonsang You
://www.ifn-magdeburg.de -- View this message in context: http://r.789695.n4.nabble.com/How-to-uncompress-a-gz-file-in-R-tp2538669p2538669.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] __ R-help@r

Re: [R] How to uncompress a gz file in R

2010-09-14 Thread Uwe Ligges
See ?gzfile Uwe Ligges On 14.09.2010 11:02, Wonsang You wrote: Dear Fellows, I would like to know how to uncompress a gz file at the R console. I could not find out any help from the R-help archive. Thanks for your great help. Best Regards, Wonsang You - -- Wonsang You Special Lab

Re: [R] How to uncompress a gz file in R

2010-09-14 Thread Henrik Bengtsson
To uncompress an *.gz file into another file on disk, see also ?gunzip in the R.utils package. /Henrik 2010/9/14 Uwe Ligges lig...@statistik.tu-dortmund.de: See ?gzfile Uwe Ligges On 14.09.2010 11:02, Wonsang You wrote: Dear Fellows, I would like to know how to uncompress a gz file at