[Rd] strange behaviour in R 2.0.0 (PR#7275)

xiao.gang.fan1 at libertysurf.fr xiao.gang.fan1 at libertysurf.fr
Sun Oct 10 17:53:06 CEST 2004


Full_Name: Xiao Gang FAN
Version: R 2.0.0
OS: Windows
Submission from: (NULL) (82.226.247.142)


The following codes worked for R 1.9.1

> a = data.frame(x=1:2)
> a$y = strptime(c("20010101","20020101"),"%Y%m%d")

this no longer works for R 2.0.0:

Error in "$<-.data.frame"(`*tmp*`, "y", value = list(sec = c(0, 0), min = c(0, 
: 
        replacement has 9 rows, data has 2



More information about the R-devel mailing list