Skip to content
Prev 266 / 1559 Next

SQLite: When reading a table, a "\r" is padded onto the last column. Why?

Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:
We've been working with annotation data for Affymetrix Mapping arrays
(SNP chips).  This translates to many rows (6M) and a handful of
columns (6-10) with a mix of integer, double, and character columns.

As you wrote, if one needs to do any manipulation of the data before
loading into the DB, then read.table will most likely not be the
bottleneck.
Unfortunately, AFAIK, SQLite does not provide a SQL syntax to achieve
that.  I think it did at one time and then it went away with one of
the newer versions.

+ seth
Message-ID: <m2lkkhnipp.fsf@fhcrc.org>
In-Reply-To: <Pine.LNX.4.64.0701052143250.6220@gannet.stats.ox.ac.uk> (Brian Ripley's message of "Fri, 5 Jan 2007 21:57:17 +0000 (GMT)")

Thread (19 messages)

Seth Falcon SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 3 ronggui SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 3 Seth Falcon SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 4 Seth Falcon SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 4 Seth Falcon SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 4 ronggui SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 4 Dirk Eddelbuettel SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 4 ronggui SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 4 Dirk Eddelbuettel SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 4 Seth Falcon SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 5 ronggui SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 5 David James SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 5 Seth Falcon SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 5 Brian Ripley SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 5 David James SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 5 Seth Falcon SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 5 Seth Falcon SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 5 ronggui SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 6 Seth Falcon SQLite: When reading a table, a "\r" is padded onto the last column. Why? Jan 6