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

From: Seth Falcon <sfalcon_at_fhcrc.org>
Date: Wed 03 Jan 2007 - 16:43:21 GMT

Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:
> [I am not sure who is actually maintaining RSQLite, so am Cc: both the
> stated maintainer and the person who prepared the package for
> distribution. The posting guide asked you to contact the maintainer:
> what response did _you_ get?]

For the record, I will be (have been) taking on the maintainer role for RSQLite. The Maintainer field will be updated in the next version.

As to the '\r' problem, a release candidate RSQLite 0.4-17 is available here:

    http://bioconductor.org/packages/misc/

This version uses prepared queries to implement dbWriteTable. This should resolve the '\r' issue on Windows and should also be considerably more efficient. Soren, can you give this one a try and let me know if it works for you?

Recent work on RSQLite has focused on integrating SQLite3's type system into the interface. We now rely on the column type in the DB when retrieving results. Previously, type.convert was used. I'm fairly certain these changes will result in changes in behavior -- in most cases, I think the changes are for the better.

+ seth



R-help@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 and provide commented, minimal, self-contained, reproducible code. Received on Thu Jan 04 05:05:40 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 04 Jan 2007 - 01:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.