Wingetlywingetly
← Back to R for Windows

Silent install command for R for Windows 4.6.1

The exact silent switches the R for Windows installer accepts, plus a one-line command you can paste into a script, Intune Win32 app, or Configuration Manager package.

One-line silent install (x64, machine scope)
R-4.6.1-win.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART

Run from the directory containing R-4.6.1-win.exe. Download the installer from the Direct link below first. Run an elevated terminal (Run as Administrator) for machine-scope installs.

ArchitectureScopeTypeSilent switchesSource
x64machineEXE
Inno Setup
Default for Inno Setup
  • Declared by publisher means the switches come straight from the winget manifest the publisher (or community maintainer) submitted to microsoft/winget-pkgs.
  • Default for {type} means the manifest doesn't specify silent switches, so the framework's standard switches are shown (e.g. /S for NSIS, /quiet /norestart for MSI).

Frequently asked questions

What is the silent install command for R for Windows?
R for Windows uses EXE (Inno Setup). After downloading the installer, run: R-4.6.1-win.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART. The silent install switches are /VERYSILENT /SUPPRESSMSGBOXES /NORESTART.
How do I deploy R for Windows via Intune or Configuration Manager?
Use winget for the cleanest path: winget install --id RProject.R --exact 4.6.1 --silent --accept-package-agreements --accept-source-agreements. If winget isn't viable in your environment, package the publisher's installer directly using the silent switches above.

Prefer the winget route? See the full R for Windows install page.