rocker-org / rocker

R configurations for Docker
https://rocker-project.org
GNU General Public License v2.0
1.45k stars 273 forks source link

Binder and R 4.0.x images #440

Closed frederic-santos closed 2 years ago

frederic-santos commented 3 years ago

(Note: I forward this issue from https://github.com/benmarwick/rrtools/issues/139; full details are available there.)

I noticed that using binder with R 4.0.x images results in an error screen, with Rstudio failing to launch properly. An example is available in this repo, when clicking on the binder button at the top of README.md: https://github.com/frederic-santos/rrtools

Changing the version number of the docker image specified in the .binder top-level folder, switching from rocker/binder:4.0.3 to rocker/binder:3.6.0 for instance (or any rocker image prior to the 4.0.x family), is enough to get rid of the bug.

Is there any good reason for that on the rocker side?

Thanks!

cboettig commented 3 years ago

I believe is a problem with RStudio that broke compatibility with binder, specifically with jupyer-rsession-proxy, https://github.com/jupyterhub/jupyter-rsession-proxy/issues/95 and related issues. I think it is at least partly addressed now but we may still need to set the env var to force the effect.

eitsupi commented 2 years ago

resolved by rocker-org/rocker-versioned2#309