[R] spss

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Mar 12 17:32:12 CET 2004


Margarida Júlia Rodrigues Igreja wrote:

> hi,
> i can´t download a file in access.
> 
> when i type:
>  > library(foreign)
>  >  read.spss("H:\Desktop\bd1\experiencia1")
> 
> comes the error:
> Error in read.spss("H:Desktop\bd1experiencia1") : unable to open file
> 
> 
> do you know what is the problem?
> can you help me?

Reading the R for Windows FAQs helps:

"2.14 R can't find my file, but I know it is there!

How did you specify it? Backslashes have to be doubled in R character 
strings, so for example one needs 
"d:\\rw1081\\library\\xgobi\\scripts\\xgobi.bat". Make life easier for 
yourself by using forward slashes as path separators: they do work under 
Windows."

Uwe Ligges


> margarida,porto,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




More information about the R-help mailing list