I get the following errors when running the EBImage introductory sample 
code:

>###################################################
>### code chunk number 11: math2
>###################################################
>lena4 = lena[299:376, 224:301]
Error in slot(lena, ".Data")[299:376, 224:301] :
   incorrect number of dimensions
>lena5 = lena>0.5
>lena6 = t(lena)
Error in t.default(lena) : argument is not a matrix
>print(median(lena))
[1] 0.3803922
>

Can any when help me understand what is going on?

Did something go from S3 to S4 that changes the way this code should be written?

Thanks,

Rob



	[[alternative HTML version deleted]]

