Yes, I do have Rtools installed on two Windows PCs I tested, and I used them to build R packages. I use sed all the time with no problems. Thanks for confirming me that it works on your Windows PC. I will test it again and will update you if I find out what's wrong in my pc.
On Sun, Mar 13, 2011 at 11:56 PM, Gabor Grothendieck < ggrothendi...@gmail.com> wrote: > On Sun, Mar 13, 2011 at 11:32 PM, Paul Y. Peng <pywp...@gmail.com> wrote: > > Many thanks to Jim Holtman and Gabor Grothendieck for your quick > responses. > > Jim's solution works beautifully for my tasks. Thanks. I also tried > Gabor's > > solution based on pipe(). Unfortunately it only works on a linux PC, not > on > > Windows 7/Vista. Submitting the command in Windows results in nothing. I > > suspect that it is because pipe() function behaviors differently in the > two > > systems. > > > > > > You did specifically write in your post that you could use sed which > suggests that you had it on your system. > > If that is not, in fact, the case you could get it from Duncan > Murdoch's Rtools distribution: > http://www.murdoch-sutherland.com/Rtools/ > which you would need in any case if you intend to develop R packages on > Windows. > > I did run a test on my own Windows Vista system prior to posting so it > certainly does work on Windows under the assumptions of the post. > > -- > Statistics & Software Consulting > GKX Group, GKX Associates Inc. > tel: 1-877-GKX-GROUP > email: ggrothendieck at gmail.com > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.