RE: [R] Failing on reading a "slightly big" dataset

2004-07-05 Thread David Khabie-Zeitoune
Try specifying quote=NULL as an argument to read.table. It could be that one of your fields has a quote symbol in it. -Original Message- From: Ajay Shah [mailto:[EMAIL PROTECTED] Sent: 05 July 2004 11:15 To: r-help Subject: [R] Failing on reading a "slightly big" dataset I h

Re: [R] Failing on reading a "slightly big" dataset

2004-07-05 Thread Prof Brian Ripley
You are asking read.table to interpret both quote and comment characters in your file. You do seem to have quotes -- are they always matched? Please read through the Data Import/Export manual and check out all the options. On Mon, 5 Jul 2004, Ajay Shah wrote: > I have a file with 4 columns per

[R] Failing on reading a "slightly big" dataset

2004-07-05 Thread Ajay Shah
I have a file with 4 columns per line, all pipe delimited. $ wc -l cmie_firm_data.text 89325 cmie_firm_data.text $ ls -al cmie_firm_data.text -rw-r--r--1 ajayshah ajayshah 4415637 Jul 5 15:25 cmie_firm_data.text $ awk -F\| '(NF != 4)' cmie_firm_data.text $ head cmie_firm_data.text All fi