Re: [R] how to write a escape sequences in to a file

2008-09-05 Thread Henrique Dallazuanna
Try this: cat(Str1, Str2, file = "out.txt", sep = "\n") On Fri, Sep 5, 2008 at 2:21 AM, Kurapati, Ravichandra (Ravichandra) < [EMAIL PROTECTED]> wrote: > > > Hi > > > > Str1<-"hai " > > Str2<-"hru" > > > > I want to write these 2 strings in a file separa

Re: [R] how to write a escape sequences in to a file

2008-09-05 Thread Prof Brian Ripley
A newline is "\n". So "hai \nhru". On Fri, 5 Sep 2008, Kurapati, Ravichandra (Ravichandra) wrote: Hi Str1<-"hai " Str2<-"hru" I want to write these 2 strings in a file separated by newline. How can I get this. Thanks K.Ravicha

[R] how to write a escape sequences in to a file

2008-09-04 Thread Kurapati, Ravichandra (Ravichandra)
Hi Str1<-"hai " Str2<-"hru" I want to write these 2 strings in a file separated by newline. How can I get this. Thanks K.Ravichandra [[alternative HTML version deleted]] ___