[R] read.table missing values

I.Szentirmai I.Szentirmai at rug.nl
Wed Feb 22 14:03:41 CET 2006


might be, but I have already found another solution: 
reat.table(file,sep="\t")

Thanks,
Istvan



On Wed, 22 Feb 2006 07:54:49 -0500
  Sean Davis <sdavis2 at mail.nih.gov> wrote:
> Does using read.delim instead of read.table fix your 
>problem?
> 
> Sean
> 
> 
> On 2/22/06 7:40 AM, "I.Szentirmai" <I.Szentirmai at rug.nl> 
>wrote:
> 
>> Dear R users,
>> 
>> I'm trying to read data from a tab-delimited text file 
>>to
>> R, but I have problems with missing values. R gives this
>> kind of error messages: "line 1 did not have 9 
>>elements".
>> 
>> Could someone tell me how I can deal with missing values
>> in this case?
>> 
>> Thanks a lot in advance,
>> Istvan
>> 
>> ______________________________________________
>> R-help at 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
> 
>




More information about the R-help mailing list