Skip to content

still spss

5 messages · Margarida Júlia Rodrigues Igreja, John Fox, Thomas Petzoldt +2 more

#
hi again,

i still cannot open the file in spss :(

i type:
library(foreign)
read.spss("H:\\Desktop\\bd1\\experiencia1")

and the error comes:
Error in read.spss("H:\\Desktop\\bd1\\experiencia1") : unable to open file

can you help me?

margarida,portugal
#
Dear Margarida,

Are you sure that the file is named experiencia1. Might it be named
experiencia1.sav or experiencia1.por?

I hope that this helps,
 John
#
Margarida J?lia Rodrigues Igreja wrote:

            
I suspect, you make still a path error. Does your file really have no 
extension (e.g. .sav)? The default behaviour of Windows is to hide 
extensions.

Maybe, read.spss("H:\\Desktop\\bd1\\experiencia1.sav") will help, 
otherwise you may look for a computer expert near you.

Thomas P.
#
Margarida J?lia Rodrigues Igreja wrote:

            
For sure the file there? Does the file has an extension, .sav for 
example? You will need to specify the latter as in: 
read.spss("H:\\Desktop\\bd1\\experiencia1.sav")


Uwe Ligges
#
Uwe Ligges <ligges at statistik.uni-dortmund.de> writes:
In Windows I recommend the use of file.choose() in place of explicit
file names.  The function brings up a chooser panel in which you can
use the familiar Windows point-and-click style of selecting a file.

That is, invoke read.spss as

read.spss(file.choose())