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 separated by > newline. > > > > > > How can I get this. > > Thanks > > K.Ravichandra > > > > > > > [[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. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[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.