Has anyone seen this error before? -
Error in colnames<-(tmp, value = 1:59) : 'names' attribute [59] must be the same length as the vector [0]
If yes, how can I fix with it?
Has anyone seen this error before? -
Error in colnames<-(tmp, value = 1:59) : 'names' attribute [59] must be the same length as the vector [0]
If yes, how can I fix with it?
This error would occur, if you try to assign column names to an empty data.frame:
d <- data.frame()
colnames(d) <- 1:59