Re: [Rd] Incorrect Import by Data for CSV File

2017-09-25 Thread peter dalgaard
> On 25 Sep 2017, at 14:27 , Prof Brian Ripley wrote: > > On 25/09/2017 08:00, Dario Strbenac wrote: >> Good day, >> The data function can import a variety of file formats, one of them being >> C.S.V. > > That isn't its documented purpose. It was the original way for packages to > provide d

Re: [Rd] Incorrect Import by Data for CSV File

2017-09-25 Thread Prof Brian Ripley
On 25/09/2017 08:00, Dario Strbenac wrote: Good day, The data function can import a variety of file formats, one of them being C.S.V. That isn't its documented purpose. It was the original way for packages to provide datasets as needed (before lazy data was added). Problematically, all of

[Rd] Incorrect Import by Data for CSV File

2017-09-25 Thread Dario Strbenac
Good day, The data function can import a variety of file formats, one of them being C.S.V. Problematically, all of the table columns are collapsed into a single data frame column. This occurs because "files ending .csv or .CSV are read using read.table(..., header = TRUE, sep = ";", as.is=FALSE