R Studio Cloud and Rcmdr package


#1

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!)


#2

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


#3

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


#4

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"


#5

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!)


#6

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


plot panel not working in Rstudio server