“unlist” removes class in list elements (POSIXlt) [duplicate]
问题 This question already has an answer here : why does unlist() kill dates in R (1 answer) Closed 2 years ago . I have an object that is a multi-level list, where all elements are of class POSIXlt : [[1]] [1] "2015-07-16 GMT" "2015-07-16 GMT" "2015-07-16 GMT" "2015-07-16 GMT" "2015-07-15 GMT" [6] "2015-07-15 GMT" "2015-07-15 GMT" "2015-07-15 GMT" "2015-07-15 GMT" "2015-07-14 GMT" [11] "2015-07-14 GMT" "2015-07-14 GMT" "2015-07-14 GMT" "2015-07-14 GMT" "2015-07-14 GMT" [16] "2015-07-14 GMT" "2015