Re: [Rd] (PR#9578) rbind.data.frame reacts on levels without factor

2007-03-29 Thread prechelt
Brian wrote: > In your data frames, 'y' is a category ... > The behaviour is compatible with S apart from the comment in=20 > the R help=20 > page. That categories are promoted to factors is consistent=20 > with the help for 'category'. I have been around S and R for about 10 years, but had never

Re: [Rd] (PR#9578) rbind.data.frame reacts on levels without

2007-03-29 Thread ripley
In your data frames, 'y' is a category and the following comment in the code makes clear this is deliberate. if( !is.null(levels(xj)) ) { all.levs[[j]] <- levels(xj) facCol[j] <- TRUE # turn categories into factors