How do I establish connection with R session

I have downloaded R-Studio for my university assignments onto my PC. However, every time I run a command in the console it comes up with the error:

Error: Unable to establish connection with R session

I have tried reinstalling it, deleting the R-Studio desktop file and a load of other fixes detailed online but none of them work. Please help.

Do you have also installed R?

Have in mind that RStudio is an interpreted Development Environment (IDE) for the R programming language so you have to install both.

Hi, and welcome!

R-Studio relies on R, which has to be separately install. You can find it at the central R repository CRAN

Yes I have installed R

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.