Re: [R] R Output and ArcGIS

2010-01-26 Thread Steve Murray
Dear all, Just to let you know that thanks to your help, I've managed to solve it. For future reference, if anyone's interested (!), if you're having problems reading R-generated data from a Mac, into ArcMap on a PC, then ensure that you're using eol="\r\n" in the write.table command and that

Re: [R] R Output and ArcGIS

2010-01-26 Thread Corey Sparks
Yes, R thinks the coordinates are characters, that needs to change. Also, alternatively you could use the write .dbf function in the foreign() library, ArcGis likes dbf files (just no long names) Corey - Corey Sparks, PhD Assistant Professor Department of Demography and Organization Studies

Re: [R] R Output and ArcGIS

2010-01-26 Thread Rainer M Krug
On Tue, Jan 26, 2010 at 11:42 AM, Steve Murray wrote: > > Dear all, > > Thanks for the replies so far. > > Just to emphasise, I'm not using Excel in any way. I have many many files > to output, so it'd take considerable time to export from R, reprocess in > Excel, then load into Arc! On a PC I'm a

Re: [R] R Output and ArcGIS

2010-01-26 Thread Steve Murray
Dear all, Thanks for the replies so far. Just to emphasise, I'm not using Excel in any way. I have many many files to output, so it'd take considerable time to export from R, reprocess in Excel, then load into Arc! On a PC I'm able to go directly from R to ArcMap (9.3) without having to go vi

Re: [R] R Output and ArcGIS

2010-01-25 Thread Paul Hiemstra
Steve Murray wrote: Dear all, I've been using R on a Mac to process some data for export to ArcMap GIS (which only runs on Windows). ArcMap seems to require tab-delimited data (my data are in 3 columns), so I've been using the sep="\t" argument. However, this resulted in strange end-of-line ch

Re: [R] R Output and ArcGIS

2010-01-25 Thread Michael Denslow
Hi Steve, On Mon, Jan 25, 2010 at 12:54 PM, Steve Murray wrote: > > Dear all, > > I've been using R on a Mac to process some data for export to ArcMap GIS > (which only runs on Windows). ArcMap seems to require tab-delimited data (my > data are in 3 columns), so I've been using the sep="\t" arg

Re: [R] R Output and ArcGIS

2010-01-25 Thread milton ruser
Hi Steve, As I have no problem with this because I run windows, I prefere to use .txt files. But may be on your case you install xlsReadWrite (or WriteRead), because .xls file works fine for ArcGis. Remember not use complex (like having dots) or large names because some times you get error on Arc

[R] R Output and ArcGIS

2010-01-25 Thread Steve Murray
Dear all, I've been using R on a Mac to process some data for export to ArcMap GIS (which only runs on Windows). ArcMap seems to require tab-delimited data (my data are in 3 columns), so I've been using the sep="\t" argument. However, this resulted in strange end-of-line characters when displa