I've noticed that when you do this:
mapply(function(x) { x }, c(as.Date('2014-1-1'), as.Date('2014-2-2')))
R automatically converts your vector of Dates into a vector of numbers. Is there a way to disable this behavior?
I know that you can wrap the result in as.Date(..., origin='1970-1-1'), but I can only imagine there has to be a better solution here.