[R] ESRI shape file import and time-space models

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Fri Feb 14 08:51:03 CET 2003


On Thu, 13 Feb 2003 david.whiting at ncl.ac.uk wrote:

> On Thu, Feb 13, 2003 at 12:36:51PM +0100, Ekkehardt.Altpeter at bag.admin.ch wrote:

> > I am running R under Windows 2000.
> > 
> > I am looking for a routine for importing
> > 
> > -        shape files (ESRI) into R
> > 
> > -        dbase files (FOXPRO) into R
> 
> I assume that as you say dbase (Foxpro) you mean Foxpro version < 3.0,
> e.g. 2.x.  I don't know of a way of opening dbase/foxpro files from
> within R (I think I saw once that RODBC can connect with dbase files,
> and if it does I'm sure you'll hear from someone else who knows more
> about it than me). 

It does read dBase files, easily, including the column (aka field) names.
Also for FoxPro files.  You don't need either program installed.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list