user4847456
user4847456

Reputation:

RStudio normally launches in blank screen; requires sudo to work

RStudio v1.0.136 running on a freshly installed x64 Ubuntu GNOME 16.04 and R v3.3.2 launches in blank white screen with the below terminal output (see screenshot):

"TypeError: undefined is not an object (evaluating 'window.desktopHooks.notifyRCrashed')"
QIODevice::read: device not open

enter image description here

But it works fine when sudo is prepended.

enter image description here

How this can be resolved?

Upvotes: 3

Views: 1937

Answers (2)

user00
user00

Reputation: 45

I had a similar problem. Fixed by reinstalling rstudio. The disk was almost full in my first installation attempt.

Upvotes: 1

Kevin Ushey
Kevin Ushey

Reputation: 21285

What happens if you try moving the RStudio session state folder out of the way temporarily?

mv ~/.rstudio-deskop ~/.rstudio-desktop-backup

If that works, I'm curious what the permissions on that folder are:

stat ~/.rstudio-desktop-backup
ls -la ~/.rstudio-desktop-backup

Do also look into the ~/.rstudio-desktop directory ownership. Try changing the ownership to user by sudo chown -R <user> ~/.rstudio-desktop.

Upvotes: 1

Related Questions