Hello Stephen,
you can place the file where you want, but you must set the working directory in R to that place.
The command syntax is
setwd("C:/")
if, for example, your file is saved directly on C: You can check that by
getwd()
Next you should use your plotParallel package.
Maybe it would be better to export your file out of SPSS as ASCII-Text, because we had some trouble with bigger SPSS-data sets using read.spss package under R.
Regards
Guido
-----Ursprüngliche Mitteilung-----
Von:
[hidden email]
An:
[hidden email]
Verschickt: Sa., 19.Aug.2006, 1:07
Thema: R language question
Hi Everyone,
I got a simple question for someone who uses R. I want to treat
an SPSS data file with a module (plotParallel) available in a R package
(nFactors); however, I don't know where to place the SPSS data file so that
it can be read by the R program using 'read.spss' in R's Foreign package).
I have been getting errors using syntax that includes the drive,
for example: read.spss ("c:\datafile"). Is it the drive that is causing the
problem?
Any help or suggestions would be appreciated.
Thank you,
Stephen Salbod
Pace University, Psychology Department