Hi Well. I use R quite extensively for a quite a long time without knowing "perl, cut, awk etc". Do you think I shall learn it?
I agree with Barry Rowlingson that best way how to get a correct answer is to present all relevant information. Seems to me that read.table, read.fwf are obvious choce, but there are other read options as you can find out from help index, e.g. readLines, readBin. Maybe you could try to fine tune readLines. HTH Petr On 12 Sep 2006 at 6:47, Anupam Tyagi wrote: To: r-help@stat.math.ethz.ch From: Anupam Tyagi <[EMAIL PROTECTED]> Date sent: Tue, 12 Sep 2006 06:47:56 +0000 (UTC) Subject: Re: [R] Reading fixed column format > Jason Barnhart <jasoncbarnhart <at> msn.com> writes: > > > > > These posts may be helpful. > > http://tolstoy.newcastle.edu.au/R/help/05/06/5776.html > > https://stat.ethz.ch/pipermail/r-help/2002-May/021145.html > > > > Using scan directly may also work for you rather than read.fwf. > > > > Also, there are posts regarding using other tools such a 'perl' or > > 'cut' to prepocess the data before reading with R. Searching the > > archives with those keywords should help. > > I new user should not have to learn "perl","cut", "awk", etc simply to > be able to use R. Does not make sense to me. > > ______________________________________________ > 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 and provide commented, > minimal, self-contained, reproducible code. Petr Pikal [EMAIL PROTECTED] ______________________________________________ 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 and provide commented, minimal, self-contained, reproducible code.