[datatable-help] export from r

Ingeborg ica at ign.ku.dk
Wed Feb 11 12:42:03 CET 2015


The code:
mydata <- data.frame(c0_1,c0_2,dsoc) 
mydata
write.table(mydata, "c:/mydata.txt", sep="\t") 

gives the error message:

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:/mydata.txt': Permission denied

Any idea about why this happens ? I tried it on two different windows PC's



--
View this message in context: http://r.789695.n4.nabble.com/export-from-r-tp4703083.html
Sent from the datatable-help mailing list archive at Nabble.com.


More information about the datatable-help mailing list