September 28, 2021

Updating RStudio server on Ubuntu server 20.04.2 LTS

Problem: R version 4.1.1 crashes when creating plots with ggplot2 and RStudio server version 4.1.1106. 

  • Downgrading to R 4.0.5 apparently works.
  • Adding x11() in front of the plot code may work as well.
  • Updating RStudio server is supposed to work as well.

How to update RStudio server:

sudo apt-get install gdebi-core

wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-2021.09.0%2B351-amd64.deb 

sudo gdebi rstudio-server-2021.09.0+351-amd64.deb

sudo ufw allow 8787/tcp #optional, skip if you haven't enabled firewall yet


Result: Yes, updating RStudio server worked for me. 

No comments:

Post a Comment

Bookmarks: single cell RNA-seq tutorials and tools

These are my bookmarks for single cell transcriptomics resources and tutorials. scRNA-seq introductions How to make R obj...