小编fib*_*rou的帖子

cannot open connection in an r script that worked previously

I am having a "cannot open the connection" error in an R script. Below are the 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 the 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
> 
Run Code Online (Sandbox Code Playgroud)

This is a new file being created, but the directory exists. I can see the directory, which contains other files. I have used this code previously with success, …

r

5
推荐指数
1
解决办法
7410
查看次数

标签 统计

r ×1