Milan Bouchet-Valat wrote
> It seems that read.table() in R 3.0.1 (Linux 64-bit) does not consider
> quoted integers as an acceptable value for columns for which
> colClasses="integer". But when colClasses is omitted, these columns are
> read as integer anyway.
>
> For example, let's consider a fi
On Fri, Oct 4, 2013 at 9:20 AM, Peter Meilstrup
wrote:
> I think this is not the right approach -- quoting is a transport-layer
> feature of the CSV format, not part of the application layer. Quotes
> should always be interpreted away from column data before any data is
> handed to the application
On Fri, Oct 4, 2013 at 9:15 AM, peter dalgaard wrote:
>
> On Oct 4, 2013, at 17:10 , Henrik Bengtsson wrote:
>
>> On Fri, Oct 4, 2013 at 4:55 AM, Duncan Murdoch
>> wrote:
>>> On 13-10-04 7:31 AM, Joshua Ulrich wrote:
On Tue, Oct 1, 2013 at 11:29 AM, David Winsemius
wrote:
>
>
I think this is not the right approach -- quoting is a transport-layer
feature of the CSV format, not part of the application layer. Quotes
should always be interpreted away from column data before any data is
handed to the application layer. (CSV does not _have_ any application
layer; type informa
On Oct 4, 2013, at 17:10 , Henrik Bengtsson wrote:
> On Fri, Oct 4, 2013 at 4:55 AM, Duncan Murdoch
> wrote:
>> On 13-10-04 7:31 AM, Joshua Ulrich wrote:
>>>
>>> On Tue, Oct 1, 2013 at 11:29 AM, David Winsemius
>>> wrote:
On Sep 30, 2013, at 6:38 AM, Joshua Ulrich wrote:
On Fri, Oct 4, 2013 at 4:55 AM, Duncan Murdoch wrote:
> On 13-10-04 7:31 AM, Joshua Ulrich wrote:
>>
>> On Tue, Oct 1, 2013 at 11:29 AM, David Winsemius
>> wrote:
>>>
>>>
>>> On Sep 30, 2013, at 6:38 AM, Joshua Ulrich wrote:
>>>
On Mon, Sep 30, 2013 at 7:33 AM, Milan Bouchet-Valat
wrot
Le vendredi 04 octobre 2013 à 07:55 -0400, Duncan Murdoch a écrit :
> On 13-10-04 7:31 AM, Joshua Ulrich wrote:
> > On Tue, Oct 1, 2013 at 11:29 AM, David Winsemius
> > wrote:
> >>
> >> On Sep 30, 2013, at 6:38 AM, Joshua Ulrich wrote:
> >>
> >>> On Mon, Sep 30, 2013 at 7:33 AM, Milan Bouchet-Val
Le vendredi 04 octobre 2013 à 07:34 -0500, Joshua Ulrich a écrit :
> On Thu, Oct 3, 2013 at 9:44 AM, Jens Oehlschlägel
> wrote:
> > I agree that quoted integer columns are not the most efficient way of
> > delivering csv-files. However, the sad reality is that one receives such
> > formats and sti
On Thu, Oct 3, 2013 at 9:44 AM, Jens Oehlschlägel
wrote:
> I agree that quoted integer columns are not the most efficient way of
> delivering csv-files. However, the sad reality is that one receives such
> formats and still needs to read the data. Therefore it is not helpful to
> state that one sh
On 13-10-04 7:31 AM, Joshua Ulrich wrote:
On Tue, Oct 1, 2013 at 11:29 AM, David Winsemius wrote:
On Sep 30, 2013, at 6:38 AM, Joshua Ulrich wrote:
On Mon, Sep 30, 2013 at 7:33 AM, Milan Bouchet-Valat wrote:
Hi!
It seems that read.table() in R 3.0.1 (Linux 64-bit) does not consider
quote
On Tue, Oct 1, 2013 at 11:29 AM, David Winsemius wrote:
>
> On Sep 30, 2013, at 6:38 AM, Joshua Ulrich wrote:
>
>> On Mon, Sep 30, 2013 at 7:33 AM, Milan Bouchet-Valat
>> wrote:
>>> Hi!
>>>
>>>
>>> It seems that read.table() in R 3.0.1 (Linux 64-bit) does not consider
>>> quoted integers as an a
I agree that quoted integer columns are not the most efficient way of
delivering csv-files. However, the sad reality is that one receives such
formats and still needs to read the data. Therefore it is not helpful to
state that one should 'consider "character" to be the correct colClass
in case
On Sep 30, 2013, at 6:38 AM, Joshua Ulrich wrote:
> On Mon, Sep 30, 2013 at 7:33 AM, Milan Bouchet-Valat
> wrote:
>> Hi!
>>
>>
>> It seems that read.table() in R 3.0.1 (Linux 64-bit) does not consider
>> quoted integers as an acceptable value for columns for which
>> colClasses="integer". But
On Tue, Oct 1, 2013 at 5:50 AM, Peter Meilstrup
wrote:
>
> On Mon, Sep 30, 2013 at 8:10 AM, Joris Meys wrote:
>>
>> Regardless of whether "stored as character" is interpreted the R way or the
>> ASCII way, the point Joshua makes is rather valid. Mainly because
>> read.table has an argument quote
On Mon, Sep 30, 2013 at 8:10 AM, Joris Meys wrote:
> Regardless of whether "stored as character" is interpreted the R way or the
> ASCII way, the point Joshua makes is rather valid. Mainly because
> read.table has an argument quote with default value \"'. This means that at
> least according to R
On Mon, Sep 30, 2013 at 5:33 AM, Milan Bouchet-Valat wrote:
> Hi!
>
>
> It seems that read.table() in R 3.0.1 (Linux 64-bit) does not consider
> quoted integers as an acceptable value for columns for which
> colClasses="integer". But when colClasses is omitted, these columns are
> read as integer
On Mon, Sep 30, 2013 at 5:27 PM, Milan Bouchet-Valat wrote:
> Le lundi 30 septembre 2013 à 17:10 +0200, Joris Meys a écrit :
> > Regardless of whether "stored as character" is interpreted the R way
> > or the ASCII way, the point Joshua makes is rather valid. Mainly
> > because read.table has an a
Le lundi 30 septembre 2013 à 17:10 +0200, Joris Meys a écrit :
> Regardless of whether "stored as character" is interpreted the R way
> or the ASCII way, the point Joshua makes is rather valid. Mainly
> because read.table has an argument quote with default value \"'. This
> means that at least acco
It is after all an R-related mailing list, and professor Ripley has set a
certain standard ages ago ;)
On Mon, Sep 30, 2013 at 5:19 PM, Milan Bouchet-Valat wrote:
> Le lundi 30 septembre 2013 à 10:07 -0500, Joshua Ulrich a écrit :
> > On Mon, Sep 30, 2013 at 9:45 AM, Milan Bouchet-Valat
> wrote
Le lundi 30 septembre 2013 à 10:07 -0500, Joshua Ulrich a écrit :
> On Mon, Sep 30, 2013 at 9:45 AM, Milan Bouchet-Valat
> wrote:
> > Le lundi 30 septembre 2013 à 08:38 -0500, Joshua Ulrich a écrit :
> >> On Mon, Sep 30, 2013 at 7:33 AM, Milan Bouchet-Valat
> >> wrote:
> >> > Hi!
> >> >
> >> >
Regardless of whether "stored as character" is interpreted the R way or the
ASCII way, the point Joshua makes is rather valid. Mainly because
read.table has an argument quote with default value \"'. This means that at
least according to R, everything between either " or ' should be seen as of
type
On Mon, Sep 30, 2013 at 9:45 AM, Milan Bouchet-Valat wrote:
> Le lundi 30 septembre 2013 à 08:38 -0500, Joshua Ulrich a écrit :
>> On Mon, Sep 30, 2013 at 7:33 AM, Milan Bouchet-Valat
>> wrote:
>> > Hi!
>> >
>> >
>> > It seems that read.table() in R 3.0.1 (Linux 64-bit) does not consider
>> > qu
Le lundi 30 septembre 2013 à 08:38 -0500, Joshua Ulrich a écrit :
> On Mon, Sep 30, 2013 at 7:33 AM, Milan Bouchet-Valat
> wrote:
> > Hi!
> >
> >
> > It seems that read.table() in R 3.0.1 (Linux 64-bit) does not consider
> > quoted integers as an acceptable value for columns for which
> > colClas
On Mon, Sep 30, 2013 at 7:33 AM, Milan Bouchet-Valat wrote:
> Hi!
>
>
> It seems that read.table() in R 3.0.1 (Linux 64-bit) does not consider
> quoted integers as an acceptable value for columns for which
> colClasses="integer". But when colClasses is omitted, these columns are
> read as integer
Hi!
It seems that read.table() in R 3.0.1 (Linux 64-bit) does not consider
quoted integers as an acceptable value for columns for which
colClasses="integer". But when colClasses is omitted, these columns are
read as integer anyway.
For example, let's consider a file named file.dat, containing:
"
25 matches
Mail list logo