[R] eliminating control characters from formatted data files

David Epstein David.Epstein at warwick.ac.uk
Thu Feb 5 16:38:57 CET 2009




Murray Cooper wrote:
> 
> This may be a case of "If all you have is a hammer, everything looks like
> a 
> nail".
> If all you want to do is remove the last line if it contains a CONTROL-Z, 
> why
> not use something like perl to process the files?
> 
My first thought was to use perl, and this would have saved a lot of my
time, in the short run. However, I'm trying to learn R, and the way to learn
a programming language is to use it. I've learned a lot about R from this
exercise, much more than has been revealed on this forum.
David
-- 
View this message in context: http://www.nabble.com/eliminating-control-characters-from-formatted-data-files-tp21847583p21853836.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list