On Nov 16, 2010, at 02:59 , Ben Bolker wrote:
> Ben Bolker gmail.com> writes:
>
>>
>> Ben Bolker gmail.com> writes:
>>
>>>
>>>
>>
>> Can simplify this still farther:
>>
>> a b'c
>> d e'f
>> g h'i
>
> This example file leads to duplicate lines.
> Arguably it should have behavior analo
Ben Bolker gmail.com> writes:
>
> Ben Bolker gmail.com> writes:
>
> >
> >
>
>Can simplify this still farther:
>
> a b'c
> d e'f
> g h'i
This example file leads to duplicate lines.
Arguably it should have behavior analogous to:
> scan(what="")
1: a b'c
3: d e'f
5: g h'i
7: Read 6 item
Ben Bolker gmail.com> writes:
>
>
Can simplify this still farther:
a b'c
d e'f
g h'i
> One of the first things that happens in read.table is that
> the first few lines are read with readTableHead:
>
> lines <- .Internal(readTableHead(file, nlines, comment.char,
>blank.lines.sk
Ben Bolker gmail.com> writes:
>
> ija.csic.es> writes:
>
> >
> > Thanks. Yes, quote="" solves the problem.
> >
> > I would never say, however, from the documentations, that this was causing
> > the duplicate records. Rather, I would have expected some kind of
> > warning/error message.
> >
ija.csic.es> writes:
>
> Thanks. Yes, quote="" solves the problem.
>
> I would never say, however, from the documentations, that this was causing
> the duplicate records. Rather, I would have expected some kind of
> warning/error message.
>
> And, yes, I knew that, through duplicate(), R solv
Thanks. Yes, quote="" solves the problem.
I would never say, however, from the documentations, that this was causing
the duplicate records. Rather, I would have expected some kind of
warning/error message.
And, yes, I knew that, through duplicate(), R solves gracefully this
specific problem. Just
The problem has to do with the quote characters in the data (R is probably
interpreting the 'minutes' and 'seconds' as delimiter characters).
With a smaller data file, I can reproduce the strange behavior.
read.table() can read the data correctly if given quote="" to disable the
interpretation
On Fri, 5 Nov 2010, jgar...@ija.csic.es wrote:
Hi,
I'm writting to this list as I'm puzzled about the behaviour of
read.table(). It is hard to believe that there is a bug in this utils'
function, but for my:
R version 2.12.0 alpha (2010-09-28 r53056)
I'm using scan and read.table to read a nu
Hi,
I'm writting to this list as I'm puzzled about the behaviour of
read.table(). It is hard to believe that there is a bug in this utils'
function, but for my:
R version 2.12.0 alpha (2010-09-28 r53056)
I'm using scan and read.table to read a number of files, which are as:
---
Project: Mu