Additional information: it seems the error occurs with any polyline imported from shp files, not with straight lines. Agus -- View this message in context: http://n2.nabble.com/spsample-Error-tp3217861p3218531.html Sent from the R-sig-geo mailing list archive at Nabble.com.