Uwe Ligges <[EMAIL PROTECTED]> 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())
______________________________________________
[EMAIL PROTECTED] 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