sp2Mondrian(SP, file)
xx <- readShapePoly(system.file("shapes/columbus.shp", package="maptools")[1]) sp2Mondrian(xx, file="columbus1.txt")
Run the code above in your browser using DataLab