[R] write.table() error

2008-06-05 Thread Megh Dal
Hi, I got following error in write.table() : write.table(dataa, file=c:/data1.csv, row.names=F, col.names=T, sep=,) Error in file(file, ifelse(append, a, w)) : cannot open the connection In addition: Warning message: In file(file, ifelse(append, a, w)) : cannot open file 'c:/data1.csv':

Re: [R] write.table() error

2008-06-05 Thread Daniel Folkinshteyn
looks like you don't have permission to write a file to C:\ try writing to some other directory where you have write access (e.g., your user's home dir, or your my documents, or something like that). on 06/05/2008 11:57 PM Megh Dal said the following: Hi, I got following error in

Re: [R] write.table() error

2008-06-05 Thread Charilaos Skiadas
I just managed to write things just fine, and then I recalled that I had a similar problem when teaching our students SPSS (Yes, I know, don't ask...), but the problem was effectively this: If a given file was open in Excel, then that file was locked and no other program could use it until