Hi Henrik,
Thank you very much for looking into this. And thanks for the patch!
Yes, let's hope this is a typo that gets fixed.
Regards,
Andreas
Henrik Bengtsson writes:
> Thanks for insisting; I was wrong and I'm happy to see that there is
> indeed code intended for named 'colClasses', which
Thanks for insisting; I was wrong and I'm happy to see that there is
indeed code intended for named 'colClasses', which even goes back to
2004. But as you report, then names only work when
length(colClasses) < cols (which also explains why I though it was not
supported). I'm not sure if that _st
Hi Henrik,
Thanks for your reply.
I am not (yet) convinced, though. The help page for read.table
mentions named colClasses and if I specify colClasses for not all
columns, the names are taken into account:
--8<---cut here---start->8---
kkk <- c("a\tb",
Hi all,
Apparently, the colClasses argument to read.table needs to be in the
order of the columns *even when it is named*. Why is that? And where
would I find it in the documentation?
Here is a MWE:
--8<---cut here---start->8---
kkk <- c("a\tb",
"3.
4 matches
Mail list logo