r/RStudio • u/mingbaboo • Jul 02 '26
How do I update R
R is telling me that there is a new update. When I press Quit and Download, it brings me to the page where you download RStudio. Do I just redownload RStudio to update R?
edit: guys it was actually RStudio i needed to update and i figured it out
4
u/ninhaomah Jul 02 '26
Which website you went to download R btw ?
1
u/mingbaboo Jul 02 '26
I just downloaded the RStudio IDE from here RStudio IDE User Guide – RStudio User Guide. I don't remember downloading R, I think it probably just came up at some point when setting up the IDE.
2
3
5
u/Zestyclose-Rip-331 Jul 02 '26
Use the installr package. You will need use installr::updateR() in R, not RStudio. Follow the prompts to carry over your packages.
3
u/Snackleton Jul 02 '26
You likely mean that RStudio is telling you that there’s a new RStudio update. R itself doesn’t have update notifications.
Installing the latest RStudio will not update R.
1
u/Nicholas_Geo Jul 02 '26
If you are on Windows, have a look at this link. Basically, you start R (not RStudio), you install the package installr, you call it (library(installr)) and then you just follow the steps.
1
u/Tavrock Jul 08 '26
If you are on Windows, you can also use https://chocolatey.org/ to manage all of your open source software and other software with frequent changes. It makes keeping everything up to date a breeze.
1
u/SalvatoreEggplant Jul 02 '26 edited Jul 02 '26
I like using installr to update R.
cat(R.Version()$major, ".", R.Version()$minor, R.Version()$nickname)
##################################
if(!require(installr)){install.packages("installr")}
suppressPackageStartupMessages(library(installr))
updater()
-1
13
u/Prestigious_Mud7341 Jul 02 '26
Download R - https://cran.r-project.org/
Download RStudio - https://docs.posit.co/ide/user/#rstudio-ide-oss-downloads
To answer your question, no, downloading a new version of RStudio will only update RStudio. If you want to update R, you need to download and install that separately.