PS a parallel problem seems to occur in cut.Date ... cut.POSIXt and cut.Date both allow breaks to be a single integer specifying the number of breaks, and both call
if(is.null(labels)) levels(res) <- as.character(breaks[-length(breaks)]) near the end of the function, which breaks (so to speak) if length(breaks)!=length(levels(res))-1 I could keep working on a patch if requested, but probably won't otherwise. Ben Bolker -- View this message in context: http://www.nabble.com/forwarded%3A-bug-%28-%29-in-cut.POSIXt-with-%22breaks%22%3Dinteger-tp25914604p25926126.html Sent from the R devel mailing list archive at Nabble.com. ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel