Thursday, August 01, 2013

RStudio - "RStudio Initialization Error: Unable to connect to service"

If you are getting the following error while trying to log into RStudio:

RStudio Initialization Error: Unable to connect to service

Make sure you have a home directory in /home/ (or whatever you put users home dir). I have a user complain about this who doesn't have a home directory on the server where RStudio is installed.

2 comments:

raffdoc said...

I have home directory but stil this error persists. How can I solve this? Any tips?

Tony Li Xu said...

Sounds like a permission error, what user are attempting to login as? Make sure the permission on the user's folder and sub folders are correct and make sure the uid is not less than 100. Also, what does the log file say?