tcltk error on RStudio Cloud

Hi I am receiving the following warning when tcltk loads on RStudio Cloud. I have no issues on the desktop version:

Warning message:
In fun(libname, pkgname) : couldn't connect to display ":0"

I am also receiving a code error from SSDforR:

Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") :
[tcl] invalid command name "tk_getSaveFile".


Sadly since RStudio Cloud is running on a heedless server, nothing requiring tcltk is going to work, there are walk-arounds when you own the server (you have administrative access) but this is not the case.
Maybe if you explain what your actual goal is, someone in the community might be able to give you an alternative solution.

Thanks for your clarification. I was able to create a work around for my package.

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