[Rd] Possible improvement of "read.fwf"

Prof Brian Ripley ripley@stats.ox.ac.uk
Tue, 20 Mar 2001 12:42:01 +0000 (GMT)


This has been far down my TODO list with connections, so many thanks,
and I will take a look for 1.3.0.

Brian


On Mon, 19 Mar 2001, Harald Fekjaer wrote:

> 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 Fekjær, <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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._