Diagnosing RStudio Startup Issues
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
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.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.