On Wed, 12 Mar 2003, Michael Miettinen wrote:
Sorry about making this stupid question, but I did not
find the answer from documentation.
See the FAQ question 7.10 How do file names work in Windows?
I managed to read my spss .sav file into the R, no
problem. Next I would like to write
Well, you did not specify the object to save in write.table(). Suppose
you want to save the following:
x - matrix( c(1:25), nrow=5)
write.table(x, file=c:/my.output.file.txt)
If all goes well, you should see the prompt without any message.
Also use / rather than \ as it is reserved for escape
If that is what you tried, then you didn't supply the object to the
write.table function.
e.g. if your data.frame is called mydata in R you need
write.table(mydata,c:/foo/data.dat)
The file is ascii. Note also that you either have to use forward slashes (as
above) or double backslashes
- Original Message -
From: Michael Miettinen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, 12 March, 2003 2:13 PM
Subject: [R] Simple question about export
Hi,
Sorry about making this stupid question, but I did not
find the answer from documentation.
I managed to read my