Error after new installation R-Studio

Hi All,

I hope you can help me.
Last Tuesday I did a fresh installation of R-Studio.
When I startup R-Studio we are getting a startup error.

The R session failed to start.
The R session process exited with code 10.

I'm trying to install R-studio on behalf of one of my user. I'm completely new with R-studio. I hope that you
guys can explain me what I'm doing wrong.

Thanks in advance.

Remy

Just to rule out the basics, have you installed R first?.
RStudio is an IDE for the R programming language and it can't work without having the R interpreter installed in your system.

Hi Andresrcs,

So we have to do the following.

  1. Install R --> https://mirror.lyrahosting.com/CRAN/bin/windows/base/R-4.1.1-win.exe
  2. Install R-Studio --> Download the RStudio IDE - RStudio

Is this the correct procedure?

Thanks in advance.

Remy

Yes, additionally, if your user is going to be installing R packages from source you need to install and configure RTools as well

https://cran.r-project.org/bin/windows/Rtools/

Thanks I will follow up this next week because "my" user has a few days of vacation.

Hi Andresrcs I followed the same procedure but the issue persist. Do you have some other suggestions?

Hi Andresrcs I followed the same procedure but the issue persist. Do you have some other suggestions?

I think the next thing to try is resetting RStudio's state in case a failed previous installation has messed things up.

Also, does your user's home folder name has non-ASCII characters? R tends to have problems with that.

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.