Closed landroni closed 10 years ago
Changing it isn't hard, but the problem is one can reshape the table when set via [<-
, so the names may not be apt or even the right length. I'd suggest a wrapper to store the names, call [<- and then reset the names if you do this a lot.
Oh, I seem to have found a workaround:
tbl[] <- data.frame("Variables"=head(names(mtcars)))
Should this be documented?
Consider:
Now set the table header name:
And notice that the name gets reset on reinitializing the table items:
This seems like a bug. Could it be fixed, so that the header name is never dropped?