cannot open connection in an r script that worked previously -


i having "cannot open connection" error in r script. below details:

> write.csv(table1.fivereitwts,file="c:\\users\\john broussard\\dropbox\\evthandbookproject\\figurestables\\figure3data.csv") error in file(file, ifelse(append, "a", "w")) :    cannot open connection in addition: warning message: in file(file, ifelse(append, "a", "w")) :   cannot open file 'c:\users\john broussard\dropbox\evthandbookproject\figurestables\figure3data.csv': no such file or directory >  

this new file being created, directory exists. can see directory, contains other files. have used code success, of sudden, unable write file directory.

what additional information can provide me resolve error?

you have use escape character whitespace in filepath. try write whole thing this:

c:/users/john\ broussard/dropbox/evthandbookproject/figurestables/figure3data.csv 

edit:

since apparently not source of problem, maybe file opened in process? if copy file , try open copy?


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -