Skip to content
Prev 23014 / 398502 Next

NA rownames in dataframes

"Yi, Derek" <Derek.Yi at FMR.COM> writes:
Not to my knowledge, on this list, anyway. However, it looks like a
fairly clear bug. I think you want 

... && !(rowsi[[1]] %in% "")

in the relevant line about two-thirds through data.frame().

Character NA's (as opposed to the string "NA") are a relatively new
invention, and oversights like this are bound to happen.

(NA rownames are generally a bad idea, though...)