[R] gsub warning message

2007-08-31 Thread Talbot Katz
Hi. I am using R 2.5.1 on a Windows XP machine. Here is an example of a piece of code I was running in older versions of R on the same machine. I am looking for underscores and replacing them with periods. This result is from R 2.4.1: gsub ( \\_+,\.,AAA_I) [1] AAA.I Here is what I get in

Re: [R] gsub warning message

2007-08-31 Thread Uwe Ligges
Talbot Katz wrote: Hi. I am using R 2.5.1 on a Windows XP machine. Here is an example of a piece of code I was running in older versions of R on the same machine. I am looking for underscores and replacing them with periods. This result is from R 2.4.1: gsub ( \\_+,\.,AAA_I) [1]

Re: [R] gsub warning message

2007-08-31 Thread Talbot Katz
explaining this. -- TMK -- 212-460-5430home 917-656-5351cell From: Uwe Ligges [EMAIL PROTECTED] To: Talbot Katz [EMAIL PROTECTED] CC: r-help@stat.math.ethz.ch Subject: Re: [R] gsub warning message Date: Fri, 31 Aug 2007 18:04:39 +0200 Talbot Katz wrote: Hi. I am using R 2.5.1

Re: [R] gsub warning message

2007-08-31 Thread Greg Snow
@stat.math.ethz.ch Subject: Re: [R] gsub warning message Thank you for the swift response. It looks like the code works the same way with or without the \\ in either the search string: { \\_+ or _+ } or the replacement string: { \\. or . }. I tested this in Windows and Linux (although we're still

Re: [R] gsub warning message

2007-08-31 Thread Talbot Katz
To: [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Subject: Re: [R] gsub warning message Thank you for the swift response. It looks like the code works the same way with or without the \\ in either the search string: { \\_+ or _+ } or the replacement string: { \\. or . }. I tested