Re: [R] Reading SPSS .por files

From: Jose Iparraguirre D'Elia <Jose_at_erini.ac.uk>
Date: Fri, 18 Jul 2008 15:27:47 +0100


Thanks Brian,

The error message reads as follows:

Error in read.spss("G:/Jose/Life and Times Survey/LT 2007/nilt07w1.por") :   error reading portable-file dictionary

Josť

-----Original Message-----
From: Prof Brian Ripley [mailto:ripley_at_stats.ox.ac.uk] Sent: 18 July 2008 14:38
To: Jose Iparraguirre D'Elia
Cc: r-help_at_r-project.org
Subject: Re: [R] Reading SPSS .por files

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

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 18 Jul 2008 - 14:49:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 Jul 2008 - 15:02:01 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive