Re: [Rd] read.csv confused by newline characters in header (PR#14103)

2009-12-02 Thread Peter Dalgaard
g.russ...@eos-solutions.com wrote: > Full_Name: George Russell > Version: 2.10.0 > OS: Microsoft Windows XP Service Pack 2 > Submission from: (NULL) (217.111.3.131) > > > The following code (typed into R --vanilla) > > testString <- '"B1\nB2"\n1\n' > con <- textConnection(testString) > tab <- re

[Rd] read.csv confused by newline characters in header (PR#14103)

2009-12-02 Thread g . russell
Full_Name: George Russell Version: 2.10.0 OS: Microsoft Windows XP Service Pack 2 Submission from: (NULL) (217.111.3.131) The following code (typed into R --vanilla) testString <- '"B1\nB2"\n1\n' con <- textConnection(testString) tab <- read.csv(con,stringsAsFactors = FALSE) produces a data fra