Re: [R-SIG-Mac] Mac-only problem using readOGR() to read a shapefile from a directory on a USB pen drive

2017-03-06 Thread MacQueen, Don
In that case I'm surprised. R is generally pretty solid about interactions with the OS. I may try to reproduce this on my Mac, though probably not today or tomorrow. If I have the same failure, the next step will probably be to contact the rgdal author(s). -Don -- Don MacQueen Lawrence

Re: [R-SIG-Mac] Mac-only problem using readOGR() to read a shapefile from a directory on a USB pen drive

2017-03-06 Thread D G. Rossiter
Good idea. From the shell, ogrInfo correctly reads the shapefile: $ ogrInfo /Volumes/DRENTHE/ds/NEweather/ gdd50_7100j | more INFO: Open of `/Volumes/DRENTHE/ds/NEweather/' using driver `ESRI Shapefile' successful. Layer name: gdd50_7100j Geometry: Point Feature Count: 5556 Extent:

Re: [R-SIG-Mac] Mac-only problem using readOGR() to read a shapefile from a directory on a USB pen drive

2017-03-06 Thread MacQueen, Don
It would be informative to try ogrInfo from the shell prompt (i.e., outside of R) to find out if this is an R problem or an ogrInfo problem. -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 3/4/17, 3:40 AM, "R-SIG-Mac on

Re: [R-SIG-Mac] Mac-only problem using readOGR() to read a shapefile from a directory on a USB pen drive

2017-03-04 Thread D G. Rossiter
Thanks to Ken Beath, this indeed was the problem. I tested by formatting a USB drive to Mac format with Disk Info, copying the shapefiles onto it, and then reading with readOGR(). Problem solved, although the Mac-formatted USB drive could not be used to transfer files to and from Windows