Full_Name: Adrian Dragulescu Version: 2.6.0 OS: Windows Submission from: (NULL) (216.99.178.65)
> data.frame(x=1:10, y="A") # expands fine x y 1 1 A 2 2 A 3 3 A 4 4 A 5 5 A 6 6 A 7 7 A 8 8 A 9 9 A 10 10 A > > data.frame(x=1:10, z=as.Date("2007-01-01")) # get an error Error in data.frame(x = 1:10, z = as.Date("2007-01-01")) : arguments imply differing number of rows: 10, 1 > I always have to write a "rep" for date objects. It is not the end of the world but it would be nice if dates would behave like characters or numbers. Thank you. ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel