[R] Reading SPSS .por files

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jul 18 15:38:28 CEST 2008


On Fri, 18 Jul 2008, Jose Iparraguirre D'Elia wrote:

> Does anyone know how to read SPSS .por (ie Portable) files? The foreign 
> package only deals with SPSS .sav files and not with those with a "por" 
> extension.

Not so.  ?read.spss says

      'read.spss' reads a file stored by the SPSS 'save' or 'export'
      commands.

It says nothing about extensions, but it seems .por is commonly used in 
the 'export' SPSS command, and there is an example in the test suite of 
the foreign package.

Did you actually try it?  (If so, you failed to report the error message 
you got.)

>
> Thanks,
>
> Jos?
>
>
>
> Mr Jos? Luis Iparraguirre D'Elia
>
> Senior Research Economist
>
> Economic Research Institute of Northern Ireland
>
> Floral Buildings
>
> 2 - 14 East Bridge Street
>
> Belfast BT1 3NQ
>
> Northern Ireland
>
> United Kingdom
>
>
>
> Tel:  028 9072 7350
>
> Fax: 028 9031 9003
>
> www.erini.ac.uk <http://www.erini.ac.uk/>
>
>
>
>
> 	[[alternative HTML version deleted]]
>
>

-- 
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