Unable to install rpanel on R Studio Cloud

I don't know if anyone else had similiar issue but I'm trying to install biotools on R Studio Cloud and I get the message that rpanel is missing. When I try to install rpanel I get this message Warning message:
In fun(libname, pkgname) : couldn't connect to display ":0"
Error in structure(.External(.C_dotTcl, ...), class = "tclObj") :
[tcl] can't find package BWidget.

Error: unable to load R code in package ‘rpanel’
Execution halted
ERROR: lazy loading failed for package ‘rpanel’

  • removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/rpanel’
    Warning in install.packages :
    installation of package ‘rpanel’ had non-zero exit status

I tried everything to install BWidget but unsuccessfully. If anyone have any solution please share and thanks.

This error is happening because rpanel is looking for a display, but there isn't one with rstudio.cloud.

So it can't be resolved? Is there any workaround that would enable me to install biotools on R Studio Cloud? Thx

Looking at the documentation for both rpanel and biotools, I unfortrunately don't see any workarounds for installing in a headless environment.

1 Like