[R] help reading a variably formatted text file

Jason Turner jasont at indigoindustrial.co.nz
Tue Nov 19 06:56:32 CET 2002


This looks possible in R, and your algorithm looks precise enough.
The help pages for file, readLines, and scan should cast some
light.

For jobs like this I tend to use Perl, however.  Familiarity
is one reason:  I'm more comfortable with Perl for scanning/parsing 
files.  Also, Perl was originally written for exactly this sort of
thing.

Cheers

Jason
-- 
Indigo Industrial Controls Ltd.
64-21-343-545
jasont at indigoindustrial.co.nz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list