Re: [R] Weird date conversion

2012-05-23 Thread Kony-2012
You have spotted the problem correctly; indeed the problem was a local issue (I am based in Sweden) and as per your suggestion adjustment of the local parameters has solved it. Many thanks -- View this message in context: http://r.789695.n4.nabble.com/Weird-date-conversion-tp4631058p4631087.htm

[R] Weird date conversion

2012-05-23 Thread Kony-2012
I am a new R user, but have searched the manuals on the topic , but found no suitable solution. I have imported a 20 years’ time-series data from csv format into R. The date variable was a factor and I used the command “ x$date <- as.Date(date,format= "%d%b%Y") “ to convert to a date format. The