diff --git a/modules/rstudio.ps1 b/modules/rstudio.ps1 index 48bf906..5516125 100644 --- a/modules/rstudio.ps1 +++ b/modules/rstudio.ps1 @@ -3,13 +3,13 @@ Set-Location C:\Tools $ProgressPreference = "SilentlyContinue" # PS progress bar is slow # R environment -Invoke-WebRequest -Uri "https://cloud.r-project.org/bin/windows/base/old/4.1.3/R-4.1.3-win.exe" -OutFile C:\Tools\R-installer.exe +Invoke-WebRequest -Uri "https://cloud.r-project.org/bin/windows/base/R-4.3.2-win.exe" -OutFile C:\Tools\R-installer.exe Start-Process C:\Tools\R-installer.exe -ArgumentList "/VERYSILENT","/NORESTART" -NoNewWindow -Wait -PassThru -Invoke-WebRequest -Uri "https://download1.rstudio.org/desktop/windows/RStudio-2022.02.1-461.exe" -OutFile C:\Tools\RStudio-installer.exe +Invoke-WebRequest -Uri "https://s3.amazonaws.com/rstudio-ide-build/electron/windows/RStudio-2023.09.1-494.exe" -OutFile C:\Tools\RStudio-installer.exe Start-Process C:\Tools\RStudio-installer.exe -ArgumentList "/S" -NoNewWindow -Wait -PassThru -Invoke-WebRequest -Uri "https://github.com/r-windows/rtools-installer/releases/download/2022-02-06/rtools40-x86_64.exe" -OutFile C:\Tools\RTools.exe +Invoke-WebRequest -Uri "https://cran.r-project.org/bin/windows/Rtools/rtools43/files/rtools43-5863-5818.exe" -OutFile C:\Tools\RTools.exe Start-Process C:\Tools\RTools.exe -ArgumentList "/VERYSILENT" -NoNewWindow -Wait -PassThru $RConfig = @"