Change version of R in Jupyter - r

I have tried uninstalling R and reinstalling a more up to date version. Currently I have R 4.0.3 installed and yet when I run R in Jupyter and check the version it is running R 3.6.1
I have removed R from the Jupyter Kernel and reinstalled and this has not worked, does anyone know how I can change the version of R that is run in Jupyter?

Related

Jupyter notebook/Anaconda thinks I don't have newer version of R installed

I've downloaded the latest version of R onto my machine. I've also successfully followed the steps in the article below to install r-4 base through Anaconda:
https://datascience.stackexchange.com/questions/77335/anconda-r-version-how-to-upgrade-to-4-0-and-later
After typing 'conda install jupyter' into the Anaconda terminal it returns "# All requested packages already installed.", yet I cannot use newer libraries in Jupyter notebook and running "R.Version()" I can see that Jupyter thinks I have 3.6.1 installed.
Any help appreciated. I have R Studio installed and it seems to recognise that I have a newer version ("R version 4.2.0) installed but I need to use Jupyter through Anaconda. I'm on Windows 11 too by the way.

How can I update the R home directory in Jupyter Lab?

I am having a hard time updating my R version in Jupyter Lab. I downloaded the most recent R version (4.1.3), but Jupyter still appears to be pointing at the wrong R folder / old version of R (4.1.0). Can someone help me with how to update which version of R jupyter is using?
I don't use Conda, which may complicate things.

IRKernel upgrade R not recognized

I have anaconda installed and use their version of jupyter notebook. I installed R
and IRKernel to make use of R in jupyter.
I can install packages on this version of R (3.5.1) and use them in jupyter.
I have installed a new version of R (3.5.2) using upgradeR() without problems.
To add this version to Jupyter I tried IRkernel::installspec(name = 'ir52', displayname = 'R 5.2') in R but this doesn't work.
I did this using R in jupyter notebook and this gave no errors and I can select the new kernel.
But when I select the R 5.2 kernel and do 'version' this gives the 5.1 kernel. What have I done wrong?

Is there a way to install R version 3.3.0 on ubuntu?

I need version 3.3.0 of R for a project but up until now I have not succeeded. I want it to work for my Rstudio, but I have not found anyway to install this older version and then override the R version that my Rstudio is using now. How can I get all this done?
I used the 3.3.0 version from https://cran.r-project.org/src/base/R-3/, it is installed but Rstudio does not use it. After executing 'make' it doesn't give any errors, but it doesn't seem to work since Rstudio remains on version 3.4.4.
I expected it to run easily, but I cannot figure out how to stop version 3.4.4 from showing up and instead use 3.3.0

R.exe and RScript use R 3.3.2, even though 3.4.0 is only installed version

I'm on Windows 10. In C:\Program Files\R\ , the only directory is for R 3.4.0 and I just uninstalled all R versions and then re-installed only 3.4.0. When I open RStudio, it uses 3.4.0. However, when I run R.exe or RScript.exe from Windows PowerShell, it uses 3.3.2. At one point, I had 3.3.2 installed, but I thought I removed it!
RStudio already uses 3.4.0 as it is, so how can I get R.exe and RScript.exe to use 3.4.0?
The main issue is that because of this, R.exe and RScript.exe do not recognize libraries that I have installed in 3.4.0.
Thank you.

Resources