Re: [R] how to import such data to R?

From: Marc Schwartz <MSchwartz_at_mn.rr.com>
Date: Sun 16 Oct 2005 - 02:48:10 EST

On Sat, 2005-10-15 at 11:43 -0500, Marc Schwartz wrote:

> There may be an easier way, but here is one possible approach:
>
> First, use scan to read in the data. Set the 'what' argument to a list
> of atomic data types, based upon your specs above. Also, set the
> 'na.names' argument to '.'.

Ack....that should of course read 'na.strings', not 'na.names'...

Marc



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 Sun Oct 16 02:53:09 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:55:37 EST