Skip to content
Back to formatted view

Raw Message

Message-ID: <4230F02C.7090402@subtlety.com>
Date: 2005-03-11T01:11:08Z
From: Chris Bergstresser
Subject: Errors reading data file?
In-Reply-To: <20050302082421.73405.qmail@web25805.mail.ukl.yahoo.com>

Hi all --

    I tried loading a data file with the following command:

 > data = read.table("filename.txt", header = TRUE, sep = ",")

    This appeared to work fine, except it silently skipped 400 records 
(out of 1200).  It turns out, some of the text fields included quotes, 
and I needed to use 'quote = ""'.
    Why wasn't there an error message?  Is there some way to enable one?

-- Chris