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

From: <xiao.gang.fan1_at_libertysurf.fr>
Date: Mon 11 Oct 2004 - 01:53:06 EST


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



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon Oct 11 01:58:18 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:00:31 EST