Re: [R] Misunderstanding escape (backslash)

2006-10-16 Thread Frank McCown
> And check out the new FAQ 7.37 > > http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-does-backslash-behave-strangely-inside-strings_003f > Thanks, guys, for the help. Frank __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/li

Re: [R] Misunderstanding escape (backslash)

2006-10-16 Thread Peter Dalgaard
"Gabor Grothendieck" <[EMAIL PROTECTED]> writes: > On 10/16/06, Frank McCown <[EMAIL PROTECTED]> wrote: > > Forgive my ignorance, but shouldn't '\\' be converted into '\' in my > > string? In my output (below), you can see that '\\' remains '\\'. > > > > > term = "mother\'s day" > > > term > >

Re: [R] Misunderstanding escape (backslash)

2006-10-16 Thread Gabor Grothendieck
On 10/16/06, Frank McCown <[EMAIL PROTECTED]> wrote: > Forgive my ignorance, but shouldn't '\\' be converted into '\' in my > string? In my output (below), you can see that '\\' remains '\\'. > > > term = "mother\'s day" > > term > [1] "mother's day" > > term = "mother\\\'s day" > > term > [1]

[R] Misunderstanding escape (backslash)

2006-10-16 Thread Frank McCown
Forgive my ignorance, but shouldn't '\\' be converted into '\' in my string? In my output (below), you can see that '\\' remains '\\'. > term = "mother\'s day" > term [1] "mother's day" > term = "mother\\\'s day" > term [1] "mother\\'s day" <--- should be "mother\'s day" Thanks, Frank