[R] preprocessing data

From: Jean Eid <jeaneid_at_chass.utoronto.ca>
Date: Tue 16 Aug 2005 - 22:39:01 EST


Dear all,

My question is concerning the line
"This is adequate for small files, but for anything more complicated we recommend using the facilities of a language like perl to pre-process the file."

in the import/export manual.

I have a large fixed-width file that I would like to preprocess in Perl or awk. The problem is that I do not know where to start. Does anyone have a simple example on how to turn a fixed-width file in any of these facilities into csv or tab delimited file. I guess I am looking for somewhat a perl for dummies or awk for dummies that does this. any pointers for website will be greatly appreciated

Thank you

Jean Eid



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 Aug 16 22:43:20 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:49 EST