Displaying 1 result from an estimated 1 matches for "s4tol".
Did you mean:
atol
2009 Jan 23
1
"for" loop wiht S4 Objects
Hi all,
I'm working with the S4-Class system and I have a little problem with
Implementing iteration functionality in my S4 class but it don't work:
> setClass("foo",representation(bar="list"))
> x <- new("foo",bar=list(1,2,3))
>for(e in x) cat(e)
invalid type/length (S4/1) in vector allocation
But when I extend from a