Hi,

I understand this should be an easy task but I am still struggling a bit to
read a .txt file with a date vector. My code is as below:


data<-read.table(file.choose(),header=TRUE,sep="\t",dec=",",colClasses=c("Date","numeric","numeric","numeric"))

But I am getting an error:

Error in charToDate(x) :
  character string is not in a standard unambiguous format


because my date vector is in a format below:

format="%d.%m.%Y"


But how can i define the date format for date vector in read.table
function....?

Br,
Jack

	[[alternative HTML version deleted]]

