[datatable-help] export from r

Jim Holtman jholtman at gmail.com
Wed Feb 11 13:04:46 CET 2015


Try writing to a directory under the root. Windows blocks writing a file to "c:"


Sent from my Verizon Wireless 4G LTE Smartphone

<div>-------- Original message --------</div><div>From: Ingeborg <ica at ign.ku.dk> </div><div>Date:02/11/2015  06:42  (GMT-05:00) </div><div>To: datatable-help at lists.r-forge.r-project.org </div><div>Subject: [datatable-help] export from r </div><div>
</div>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.
_______________________________________________
datatable-help mailing list
datatable-help at lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20150211/22928ebb/attachment.html>


More information about the datatable-help mailing list