From hfe@math.uio.no  Mon Mar 19 20:16:37 2001
From: hfe@math.uio.no (Harald Fekjaer)
Date: Mon, 19 Mar 2001 21:16:37 +0100 (MET)
Subject: [Rd] Possible improvement of "read.fwf"
Message-ID: <Pine.SOL.4.30.0103192113360.3840-100000@ulrik.uio.no>

Dear R developers

I have little improvement to "R base", that I hope you will include in the official version.

Using the new connection possibilities, and important option is to read a limited amount of data each time. In the "scan"-function, this can be done with the "n" and "nmax" options, but I have found no such possibilities in "read.fwf". This is a limitation in reading large fixed formatted data files, and at:
http://www.uio.no/~hfe/midl/R/readfwf-source.html

You will find my suggestion to improve the "read.fwf".
(New code is marked with red colour. Pure code is avilble at:
http://www.uio.no/~hfe/midl/R/readfwf.R)

And you will find the new documentation on:
http://www.uio.no/~hfe/midl/R/readfwf.html

Hope you will appreciate this small improvement.

Yours sincerely
Harald Fekjr, <harald.fekjar@basalmed.uio.no>
---
University of Oslo, Norway & Norwegian cancer registry

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Possible improvement of "read.fwf"
Harald Fekjaer