>From the help for data.frame() (sic):
Objects passed to 'data.frame' should have the same number of
rows, but atomic vectors, factors and character vectors protected
by 'I' will be recycled a whole number of times if necessary.
so this is the documented behaviour.
Perhaps you
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