[R-sig-Geo] problem with "overlay" in sp Error type: object of type 'closure' is not subsettable

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Tue Apr 5 18:04:23 CEST 2011

>> p.ov <- overlay[onePLOT["Id"],p]
> Error in overlay[onePLOT["Id"], p] :
>  object of type 'closure' is not subsettable
> thanks for help or suggestions

 'overlay' is a function, you are using square brackets!

 Try overlay(a,b) instead of overlay[a,b]


More information about the R-sig-Geo mailing list