Cannot Connet to R - problem starting R-Studio

I have reinstalled R-Studio and I get the following error.

" Cannot Connect to R
RStudio can't establish a connection to R. This usually indicates one of the following:
**** The R session is taking an unusually long time to start, perhaps because of slow operations in startup scripts or slow network drive access.***
**** RStudio is unable to communicate with R over a local network port, possibly because of firewall restrictions or anti-virus software.***

Please try the following:

**** If you've customized R session creation by creating an R profile (e.g. located at {{- rProfileFileExtension}} consider temporarily removing it.***
**** If you are using a firewall or antivirus software which guards access to local network ports, add an exclusion for the RStudio and rsession executables.***
**** Run RGui, R.app, or R in a terminal to ensure that R itself starts up correctly.***

Further troubleshooting help can be found on our website:

Troubleshooting RStudio Startup"

I reinstalled R and R-Studio again and I still get this error, is it a problem with antiviruses, can it be solved only by adding a restriction to the antivirus? Are there any other possible solutions?

Thank you,

Did you try to Run RGui, R.app, or R in a terminal to ensure that R itself starts up correctly?

1 Like