From: Mulholland, Tom <Tom.Mulholland_at_dpi.wa.gov.au>

Date: Tue 28 Jun 2005 - 14:24:35 EST

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jun 28 14:31:55 2005

Date: Tue 28 Jun 2005 - 14:24:35 EST

> -----Original Message-----

*> From: r-help-bounces@stat.math.ethz.ch
**> [mailto:r-help-bounces@stat.math.ethz.ch]On Behalf Of Henrik Bengtsson
**> Sent: Tuesday, 28 June 2005 2:54 AM
**> To: Spencer Graves
**> Cc: r-help@stat.math.ethz.ch; Dirk Eddelbuettel
**> Subject: Re: [R] How to convert "c:\a\b" to "c:/a/b"?
**>
*

... snipped

> Thus, you cannot write your program such that it fools the parser,

*> because your program is evaluated first after the parser. In other
**> words, there is no way you can get nchar("\n") to equal 2.
**>
*

I had been waiting for this answer because it was the conclusion I had come to. Given that I mainly work in a windows world this has been a problem. For various reasons I receive files liberally sprinkled with such pathnames. I generally pre-process them using whatever is at hand. It's not a big problem, just annoying to have to explain to collegues that this is something R can't do. Not a good advertisment for those who have no idea about escape codes.

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jun 28 14:31:55 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:33:03 EST
*