Hello,
I made a mistake and passed stringsAsFactors to the wrong function in :
df - as.data.frame( list( x = 1:3, y = c(a, b, c ),
stringsAsFactors = FALSE ) )
But then :
df
x y
1 1 a
2 2 b
3 3 c
and :
df[[y]]
[1] a b c
Levels: a b c
str( df )
'data.frame': 3 obs. of 3
Re: the validity bug. It's just as your example suggests: the
inherited initialize() method for matrix fails to call validObject().
Should be easy to fix. (Although it points out that the code should
perhaps be reorganized so the initialize() method is not responsible for
checking