> library(maptools)
> mapa1 <- readShapeSpatial("BRA_adm1.shp")
> mapa1@data$NAME_1
[1] Acre Alagoas Amap\xe1 Amazonas
[5] Bahia Cear\xe1 Distrito Federal Esp\xedrito Santo
[9] Goi\xe1s Maranh\xe3o Mato Grosso do Sul Mato Grosso
[13] Minas Gerais Par\xe1 Para\xedba Paran\xe1
[17] Pernambuco Piau\xed Rio de Janeiro Rio Grande do Norte
[21] Rio Grande do Sul Rond\xf4nia Roraima Santa Catarina
[25] S\xe3o Paulo Sergipe Tocantins
27 Levels: Acre Alagoas Amap\xe1 Amazonas Bahia Cear\xe1 Distrito Federal ... Tocantins
> sessionInfo()
R version 3.1.3 (2015-03-09)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.4 (Yosemite)
locale:
[1] pt_BR.UTF-8/pt_BR.UTF-8/pt_BR.UTF-8/C/pt_BR.UTF-8/pt_BR.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] maptools_0.8-34 sp_1.1-0
loaded via a namespace (and not attached):
[1] foreign_0.8-63 grid_3.1.3 lattice_0.20-30 tools_3.1.3
>
Obrigado.