Skip to content
Prev 244526 / 398503 Next

importing date vector with read.table

On Fri, 10 Dec 2010, Jack Johnson wrote:

            
It is easiest to simply read the column as character, and convert 
later by as.Date(x, format="%d.%m.%Y")

You might want to consider using read.delim2 to get all the usual 
defaults for a tab-delimited file in a locale using comma as decimal 
separator.