Displaying 1 result from an estimated 1 matches for "65502805_532".
2012 Jan 31
2
how to unzip files in R
Hi,
I have downloaded a bunch of bz2 files. I wonder if R will be able to
unzip them in a batch mode or even one at a time?
I was looking at the unz function. But it didn't work well. Say I have
a bz2 file in H:/Temp/65502805_532.pair.bz2. Anyone has any
suggestion?
thanks
John
> setwd("H:\\Temp\\")
> getwd()
[1] "H:/Temp"
> fn<-list.files(pattern="bz2", full.names=TRUE)
> fn
[1] "./65502805_532.pair.bz2"
> unz(description=fn, filename="65502805_532.pair"...