I need to transform dates in R which have the format e.g. "01OCT2011". The Problem is that the function as.Date
only considers German months. Here, I have an example:
> test <- c("15MAI2006","01OCT2011")
> test1 <- as.Date(test, format='%d%B%Y')
> test1
[1] "2006-05-15" NA
"MAY" is in German "MAI". The function didn't get the date with the English spelling OCT.