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.
______________________________________________
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.