Dear Researchers,
I wish to convert a really complex  "SpatialPolygonsDataFrame" to owin using

MyMask <- readOGR(".", "Mask")
MyMask.owin <- as(MyMask, "owin")

but I get this error massage in the end

Errore in matrix(FALSE, npoly, npoly) : too many elements specified

thanks for all suggestions
Gianni

	[[alternative HTML version deleted]]

