Skip to content
Prev 33833 / 63424 Next

names<- in data.frame (PR#13916)

It does work correctly:
[1] "" ""

The thing you have overlooked is that data frames are required to have 
non-empty (not 'zero-length': yours has length 2) names, and the print 
method has created some (as data.frame will if you give unnamed 
arguments).

Please be careful to distinguish between an object and its printed 
representation.
On Fri, 28 Aug 2009, vitosmail at rambler.ru wrote: