[R] creating R package

2012-02-03 Thread ql16717
Hi, I never acutally made a package before. I have a folder, say called "john" that has everything it needs to be in a R package. Some instruction says I need Rtools from R mirror site. I installed the Rtools, but under DOS, the command "Rcmd" is still not recognized. Any suggestions? Thanks John

Re: [R] how to unzip files in R

2012-02-01 Thread ql16717
les bz2 files - only zip files. > > See bunzip2() of the R.utils package (which utilizes bzfile connections). > > /Henrik > > > On Tue, Jan 31, 2012 at 2:34 PM, ql16717 wrote: >> Hi, >> >> I have downloaded a bunch of bz2 files. I wonder if R will be able to

[R] how to unzip files in R

2012-01-31 Thread ql16717
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:\\Tem