Hi,

        The following two examples are used to generate two map files:

        example(columbus)
        x <- nb2WB(col.gal.nb)
        dput(x, control=NULL, file = "COLUMBUS.map")

        xx <- readShapePoly(system.file("shapes/sids.shp", package="maptools") 
[1],IDvar="FIPSNO", proj4string=CRS("+proj=longlat +ellps=clrk66"))
        plot(xx, border="blue", axes=TRUE, las=1)
        sp2WB(as(xx, "SpatialPolygons"), filename="NC.map")

    These two files appear to be format compatible with WinBUGS14 in  
the sense that they appear in the  "Map/Adjacency Tool" window and  
they have the same properties as the sample map files provided in the  
WinBUGS tutorial.

        When I press the "adj map" button, I receive a "Trap Index out of  
range error" and the "adj matrix" button remains gray. The proper  
response is a map is drawn and the "adj matrix" button changes from  
gray to black.

        I have generated R files on the Mac side and transferred to the  
Windows side without difficulty before.

        Can anyone advise me as to source and resolution to my problem?

        Thank you.

        Paul

        

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to