有人知道如何纠正此错误代码吗?我在尝试将R Markdown文件发布到Rpubs时得到了这个信息:
Error in file(file, if (append) "a" else "w") :
cannot open the connection
Calls: <Anonymous> -> write.dcf -> file
In addition: Warning messages:
1: In dir.create(accountDir, recursive = TRUE) :
cannot create dir 'D:\', reason 'Permission denied'
2: In file(file, if (append) "a" else "w") :
cannot open file 'D://rsconnect/documents/html.Rmd/rpubs.com/rpub/Document.dcf': No such file or directory
Execution halted
如何解决此错误?我已经有一个RPubs帐户,但是以前从未发布过。