Skip to content
Prev 13254 / 63424 Next

read.table() and NULL for colClasses

NULL is not a valid value for colClasses and I don't see why you thought
it was.  colClasses has to be character according to the documentation, so
"NULL" is allowed but not NULL.

Your diff appears to be backwards for a patch.  A patch against the 
current R-devel sources is what is needed, including some regression 
tests.
On Wed, 28 Jul 2004, Henrik Bengtsson wrote:

            
Is that a common enough case to make this worth the code complication,
given that scan() (or better, a DBMS) can be used?  The usual reason is
that R is maintained by a small and overworked team and adding
complications needs justification, not not adding them.
That's not usage as documented so the effect is definitely unintentional.
We can't catch all misuses!