This has been asked several times with no clear answer: I would like to convert an R character string of the form "YYYY-mm-dd" into a Date
. The as.Date
function is exceedingly slow. convert character to date *quickly* in R provides a solution using fasttime
that works for dates from 1970 onward. My issue is I have dates starting from 1900 that I need to convert and there are about 100 million of them. I have to do this frequently so the speed is important. Are there any other solutions?