Skip to content
Prev 24694 / 29559 Next

Format data frame of a shp file

Hello

I'm modifying shape file in R.
When exporting with writeOGR or writeSpatialShape, the data frame has 
not the good format, too many digits for numeric.
I tried format(layer at data[,4],digits=1) but it didn't work?

Any ideas? Thanks in advance