Re: [R] Help with sub functions

2009-09-29 Thread Prof Brian Ripley
On Tue, 29 Sep 2009, edche...@gmail.com wrote: I have chances to work with both linux based and win based R codes. And as you all know in linux, the file directories use "/" and win uses "\\". Is there a function like sub or gsub that could substitute those slashes automatically? See ?char

[R] Help with sub functions

2009-09-29 Thread edchen51
I have chances to work with both linux based and win based R codes. And as you all know in linux, the file directories use "/" and win uses "\\". Is there a function like sub or gsub that could substitute those slashes automatically? Thanks! Edward Chen Email: tke...@msn.com Cell Phone: 510-37