R Studio Cloud and Rcmdr package

I teach Statistics and I got very happy when I found out that there is a R Studio Cloud version.
I am used to present Rcmdr to my sudents in the beginning.
Is it possible to run Rcmdr with R Studio Cloud? (I imagine that the answer will be NO!)

Is this possible? It would be very useful for teaching.

1 Like

I am not really sure. Have you tried running it, if so, what was the result?

It did seem to load ok but then said it couldn't open the display.

library(Rcmdr)
Loading required package: splines
Loading required package: RcmdrMisc
Loading required package: car
Loading required package: carData
Loading required package: sandwich
Loading required package: effects
lattice theme set by effectsTheme()
See ?effectsTheme for details.
Error: package or namespace load failed for ‘Rcmdr’:
.onLoad failed in loadNamespace() for 'Rcmdr', details:
call: structure(.External(.C_dotTclObjv, objv), class = "tclObj")
error: [tcl] invalid command name "tk_messageBox".
In addition: Warning message:
In fun(libname, pkgname) : couldn't connect to display ":0"

These old (4-5 yrs ago) answers from the Rcmdr developer (John Fox) on the old support site suggest that this is unlikely to work — unless things have changed quite a bit on the Rcmdr side since then (always possible!)

https://support.rstudio.com/hc/en-us/community/posts/200640968-Using-RStudio-with-the-library-Rcmdr-R-Commander-

https://support.rstudio.com/hc/en-us/community/posts/201694793-RStudio-Rcmdr-Graphic-Output-Device-Bug

2 Likes

Since RStudio.cloud runs in the web browser, I am afraid that any package that requires access to a display device, as seems to be the case with Rcmdr, isn't going to work. A display device is typically only available when running on a local machine.

Best,
-Andy

1 Like

any progress about running Rcmdr from Rstudio cloud ?
indeed, for teaching purposes, it would be of great help !