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
still spss
5 messages · Margarida Júlia Rodrigues Igreja, John Fox, Thomas Petzoldt +2 more
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
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of
Margarida J?lia Rodrigues Igreja
Sent: Tuesday, March 04, 1997 2:24 AM
To: R-help at stat.math.ethz.ch
Subject: [R] still spss
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
Margarida J?lia Rodrigues Igreja wrote:
library(foreign)
read.spss("H:\\Desktop\\bd1\\experiencia1")
Error in read.spss("H:\\Desktop\\bd1\\experiencia1") : unable to open file
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:
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
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
can you help me? margarida,portugal
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Uwe Ligges <ligges at statistik.uni-dortmund.de> writes:
Margarida J?lia Rodrigues Igreja wrote:
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
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")
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())