>>> spplot(meuse, "zinc", cuts=7, col.regions=cm.colors) >> Error in col.regions[cols] : object of type 'closure' is not subsettable > > no, you need to pass colors, not a color palette generating function. Have you tried? spplot(meuse, "zinc", cuts=7, col.regions=cm.colors())