Skip to content
Prev 22246 / 63424 Next

More strange [[ behaviour

Hi,
[1] "MyList"
An object of class "MyList"
list()
Just testing
Just testing
Just testing
Just testing
...
Just testing
Just testing
Error in a[[x = 1]] : subscript out of bounds
Just testing
Just testing

Can someone explain me why the "[[x=1]]" case is treated differently?

Cheers,
H.