Rpubs on upload of an HTML

Atempting to publish to Rpubs (running from MacOS 15.5) is giving me this error:

Error in file(file, if (append) "a" else "w") :
cannot open the connection
Calls: -> write.dcf -> file
In addition: Warning message:
In file(file, if (append) "a" else "w") :
cannot open file '/rsconnect/documents//rpubs.com/rpubs/HTML.dcf': No such file or directory
Execution halted

Only recent change to anything is upgraded to the current RStudio, was AOK before.

Any suggestions? Previous posters of similar did not get much in the way of help I note..

I'm hitting the same issue. Publishing from the Viewer window used to work just fine.
Rstudio 2025.05.0+496 (2025.05.0+496) on MacOS 15.5

Error in file(file, if (append) "a" else "w") : 
  cannot open the connection
Calls: <Anonymous> -> write.dcf -> file
In addition: Warning message:
In file(file, if (append) "a" else "w") :
  cannot open file '/rsconnect/documents//rpubs.com/rpubs/Publish HTML.dcf': No such file or directory
Execution halted

Update the rsconnect package to the most recent version and see if that helps.

I have exactly the same error, when trying to publish on RPubs with the latest version of reconnect (version 1.5.0.9000). I have tried on two different Macs I get the same error message. Did anyone find a fix to this error?

Error in file(file, if (append) "a" else "w") :
cannot open the connection
Calls: -> write.dcf -> file
In addition: Warning message:
In file(file, if (append) "a" else "w") :
cannot open file '/rsconnect/documents//rpubs.com/rpubs/HTML.dcf': No such file or directory
Execution halted

I gave up and just started posting them manually to GitHub pages.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.