RStudio Silent Install (How-To Guide)

RStudio is an integrated development environment (IDE) for R, a programming language for statistical computing and graphics. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of RStudio from the command line using the EXE installer.

How to Install RStudio Silently

RStudio Silent Install (EXE)

  1. Navigate to:
  2. Download the RStudio-x.x.xxxx.exe to a folder created at (C:\Downloads)
  3. Navigate to:
  4. Download the R-x.y.z-win.exe to a folder created at (C:\Downloads)
  5. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  6. Navigate to the C:\Downloads folder
  7. Enter the following command to install R for Windows (pre-req):
    • R-x.y.z-win.exe /VERYSILENT /NORESTART
  8. Press Enter
  9. Enter the following command to install RStudio:
    • RStudio-x.x.xxxx.exe /S
  10. Press Enter

After a few moments you should see the RStudio shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:RStudio
Installer Type:EXE
Silent Install Switch (Step 1)R-x.y.z-win.exe /VERYSILENT /NORESTART
Silent Install Switch (Step 2)RStudio-x.x.xxxx.exe /S
Silent Uninstall Switch:"%ProgramFiles%\RStudio\Uninstall.exe" /S
Download Link:
PowerShell Script:
Detection Script:

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.

Additional Configurations

Change the RStudio Default Installation Directory

You can also change the default installation directory by using the following command line parameters. In this example, I’m installing RStudio to “C:\RStudio”

RStudio-x.x.xxxx.exe /S /D=C:\RStudio

How to Uninstall RStudio Silently

Check out the following posts for a scripted solution:

RStudio Install and Uninstall (PowerShell)
RStudio Silent Uninstall (PowerShell)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following commands:

RStudio Silent Uninstall (EXE)

"%ProgramFiles%\RStudio\Uninstall.exe" /S

R for Windows Silent Uninstall (EXE)

"%ProgramFiles%\R\R-x.y.z\unins000.exe" /VERYSILENT /NORESTART

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 18 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts