Re: [Rd] read.csv trap

2011-03-03 Thread Ben Bolker
Ben Bolker bbolker at gmail.com writes: On 02/11/2011 03:37 PM, Laurent Gatto wrote: On 11 February 2011 19:39, Ben Bolker bbolker at gmail.com wrote: [snip] Bump. Is there any opinion about this from R-core?? Will I be scolded if I submit this as a bug ... ?? What is

Re: [Rd] read.csv trap

2011-02-11 Thread Ben Bolker
Bump. It's been a week since I posted this to r-devel. Any thoughts/discussion? Would R-core be irritated if I submitted a bug report? cheers Ben Original Message Subject: read.csv trap Date: Fri, 04 Feb 2011 11:16:36 -0500 From: Ben Bolker bbol...@gmail.com To:

Re: [Rd] read.csv trap

2011-02-11 Thread Ken.Williams
On 2/11/11 1:39 PM, Ben Bolker bbol...@gmail.com wrote: [snip] Original Message Subject: read.csv trap Date: Fri, 04 Feb 2011 11:16:36 -0500 From: Ben Bolker bbol...@gmail.com To: r-de...@stat.math.ethz.ch r-de...@stat.math.ethz.ch, David Earn e...@math.mcmaster.ca [snip]

Re: [Rd] read.csv trap

2011-02-11 Thread Laurent Gatto
On 11 February 2011 19:39, Ben Bolker bbol...@gmail.com wrote: [snip] What is dangerous/confusing is that R silently **wraps** longer lines if fill=TRUE (which is the default for read.csv).  I encountered this when working with a colleague on a long, messy CSV file that had some phantom

Re: [Rd] read.csv trap

2011-02-11 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/11/2011 03:37 PM, Laurent Gatto wrote: On 11 February 2011 19:39, Ben Bolker bbol...@gmail.com wrote: [snip] What is dangerous/confusing is that R silently **wraps** longer lines if fill=TRUE (which is the default for read.csv). I

[Rd] read.csv trap

2011-02-04 Thread Ben Bolker
This is not specifically a bug, but an (implicitly/obscurely) documented behavior of read.csv (or read.table with fill=TRUE) that can be quite dangerous/confusing for users. I would love to hear some discussion from other users and/or R-core about this ... As always, I apologize if I have