R provides an interactive console and a scripting runtime for statistical computing, data analysis, and reproducible automation. The official CRAN Windows distribution installs both interfaces from one 64-bit setup program.

Current R for Windows builds require Windows 10 or later because they use the Universal C Runtime included with supported Windows releases. The standard Intel 64-bit build also runs through emulation on Windows 11 ARM, while CRAN provides a separate experimental native ARM build for users who specifically need it.

An administrator-approved per-machine installation places R under Program Files. R is not added to PATH by default, so a successful installation should evaluate an expression in RGui and run Rscript.exe from the per-machine path recorded in the Windows registry.

Steps to install R on Windows:

  1. Open the CRAN Windows base page for the current R release.
  2. Select Download R-4.6.1 for Windows to start the current 64-bit installer download.
  3. Confirm the browser's Downloads panel lists R-4.6.1-win.exe as complete.
  4. Start R-4.6.1-win.exe from the browser's Downloads panel.
  5. Approve the User Account Control prompt for the R setup program.
  6. Confirm the preferred installer language.
  7. Continue past the R setup information page.
  8. Accept the default destination folder for R.

    The default Program Files path depends on the Windows architecture and installer build.

  9. Keep the default R components selected.
  10. Keep the default startup options for R.
  11. Keep the default R Start Menu folder.
  12. Install R with the default additional tasks.
  13. Finish the completed R setup wizard.
  14. Start R x64 4.6.1 from its Windows Start menu shortcut.
  15. Evaluate R.version.string; 2 + 2 in RGui.
  16. Locate the installed R directory from the Windows registry in PowerShell.
    $rHome = (Get-ItemProperty 'HKLM:\SOFTWARE\R-core\R' -ErrorAction SilentlyContinue).InstallPath
    if (-not $rHome) { $rHome = (Get-ItemProperty 'HKLM:\SOFTWARE\WOW6432Node\R-core\R').InstallPath }

    The registry lookup works with per-machine paths that differ between Intel, ARM, and emulated installations.

  17. Verify that the installed Rscript executable reports its version.
    & "$rHome\bin\Rscript.exe" --version
    Rscript (R) version 4.6.1 (2026-06-24)
  18. Evaluate an expression through Rscript to prove the runtime works.
    & "$rHome\bin\Rscript.exe" -e "2 + 2"
    [1] 4
Share this guide