Hi there fellow R-users, I have just upgraded to R version 1.9.0 from R version 1.7.1 for Windows. Im trying to use the loess smoother where the X-variable is an as.POSIXct variable. The following works fine with R1.7.1 but not with R1.9.0. Here is the example: dates<-c('2003-08-03','2003-08-10','2003-08-17','2003-08-24','2003-08-31','2 003-09-07','2003-09-14','2003-09-21','2003-09-28','2003-10-05','2003-10-12', '2003-10-19','2003-10-26','2003-11-02','2003-11-09','2003-11-16','2003-11-23 ','2003-11-30','2003-12-07','2003-12-14','2003-12-21','2003-12-28','2004-01- 04','2004-01-11','2004-01-18','2004-01-25','2004-02-01','2004-02-08','2004-0 2-15','2004-02-22','2004-02-29','2004-03-07','2004-03-14','2004-03-21','2004 -03-28','2004-04-04','2004-04-11','2004-04-18','2004-04-25','2004-05-02') length(dates) strptime(dates,format="%Y-%m-%d") length(strptime(dates,format="%Y-%m-%d")) my.df<-data.frame(Sales=rnorm(40),Dates=as.POSIXct(strptime(dates,format="%Y -%m-%d"))) my.df loess(Sales~Dates,my.df) I get the following error with version 1.9.0 #Error: NA/NaN/Inf in foreign function call (arg 2) #In addition: Warning messages: #1: longer object length # is not a multiple of shorter object length in: cl == c("Date", "POSIXct", "POSIXlt") #2: NAs introduced by coercion Can anyone help??? Dr Wayne R. Jones Senior Statistician / Research Analyst KSS Limited St James's Buildings 79 Oxford Street Manchester M1 6SS Tel: +44(0)161 609 4084 Mob: +44(0)7810 523 713 KSS Ltd Seventh Floor St James's Buildings 79 Oxford Street Manchester M1 6SS England Company Registration Number 2800886 Tel: +44 (0) 161 228 0040 Fax: +44 (0) 161 236 6305 mailto:kssg@kssg.com http://www.kssg.com The information in this Internet email is confidential and m...{{dropped}}