[R] reading in "!" - delimited file
Duncan Murdoch
murdoch at stats.uwo.ca
Tue Jul 17 23:48:27 CEST 2007
On 17/07/2007 5:25 PM, Dimitri Liakhovitski wrote:
> I have to read in a file that is "!" delimited.
> Would it be correct to use the following syntax:
>
> Data<-read.delim(file.choose(),sep="!")
>
> Or would it be wrong? I am asking rather than trying it just because I
> have 3.5 million cases to read in.
If you have 3.5 million cases to read, you should specify the column
classes. I'd recommend setting nrows to a small number for a few tries
first, until you get it right.
Duncan Murdoch
More information about the R-help
mailing list