Diagnosing RStudio Startup Issues

September 6, 2018

(This article was first published on R on datawookie, and kindly contributed to R-bloggers)

Yesterday I tried to start RStudio and something weird happened: the window launched but it was blank and unresponsive.

I tried dpkg --remove and then re-installed. Same problem.

I tried dpkg --remove followed by dpkg --purge and then re-installed. Same problem.

I renamed by .R folder. Still the same problem.

A sense of desperation was beginning to set in: most of my projects rely on RStudio.

After trying a selection of other options I consulted the Internet Oracle and learned that I could get additional diagnostics using

rstudio --run-diagnostics

That produced a lot of useful information. Most useful was the fact that RStudio was getting permission denied on ~/.rstudio-desktop. A little further investigation revealed that the ownership on that folder had been modified (I have been messing around with some RStudio Docker images!), replacing UID 1000 with UID 500. A quick chown and the problem was resolved.

If you have problems running RStudio, give --run-diagnostics a try.

To leave a comment for the author, please follow the link and comment on their blog: R on datawookie.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)