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 wrote: > Dear Henrik and Steven, > > Thank you for your kind

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-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 wrote: > Dear Henrik, > > Thank you so mu

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 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") See the example.

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 g

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 : > 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 c

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 Non

[R] How to uncompress a gz file in R

2010-09-14 Thread Wonsang You
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 Non-Invasive Brain Imaging Leibniz Institute for Neurobiology http://ww