Skip to content
Prev 169379 / 398506 Next

eliminating control characters from formatted data files

David,

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?

Murray M Cooper, Ph.D.
Richland Statistics
9800 N 24th St
Richland, MI, USA 49083
Mail: richstat at earthlink.net

----- Original Message ----- 
From: "David Epstein" <David.Epstein at warwick.ac.uk>
To: <r-help at r-project.org>
Sent: Thursday, February 05, 2009 4:01 AM
Subject: [R] eliminating control characters from formatted data files