Using R to Install Stuff on Windows OS (Such As: R, 'Rtools', 'RStudio', 'Git', and More!)
Overview
R is great for installing software. Through the 'installr' package you can automate the updating of R (on Windows, using updateR()) and install new software. Software installation is initiated through a GUI (just run installr()), or through functions such as: install.Rtools(), install.pandoc(), install.git(), and many more. The updateR() command performs the following: finding the latest R version, downloading it, running the installer, deleting the installation file, copy and updating old packages to the new R installation.
BUG FIXES:
- Fix installr::install.Rtools(). props to and @arthurgailes and @burgerga.
- Fix a bunch of nits for CRAN release
From NEWS.md in the release
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) ask.user.yn.question.Rd:44: Lost braces; missing escapes or markup?
44 | menu in the {utils} package, yesno in the {devtools} package.
| ^
checkRd: (-1) ask.user.yn.question.Rd:44: Lost braces; missing escapes or markup?
44 | menu in the {utils} package, yesno in the {devtools} package.
| ^
checkRd: (-1) install.FFmpeg.Rd:25: Lost braces; missing escapes or markup?
25 | This function is useful for saveVideo() in the {animation} package.
| ^
checkRd: (-1) install.SWFTools.Rd:27: Lost braces; missing escapes or markup?
27 | This function is useful for saveSWF() in the {animation} package.
| ^
checkRd: (-1) os.shutdown.Rd:25: Lost braces; missing escapes or markup?
25 | This function is a modified version of Yihui's shutdown function from the {fun} package.
| ^NOTEfor non-standard things in the check directoryr-devel-linux-x86_64-fedora-gcc
Found the following files/directories: ‘pkgbuild’
- NOTE13 NOTENow
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 93includes a package overview page
- Examples that run
- 4%4 run in a plain check · 85 never run
- Exported functions with examples
- 96%
- Documented parameters
- 97%
- Return-value docs
- 94%
- Help pages citing references
- 45%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 134
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Issues over time
PRs over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/talgalili/installr on 2026-10-22.
GitHub Pages site last deployed 2024-02-19
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2025-11-29Pull request: opened by its own account
Dependencies
Installing installr adds 8 packages (6 with compiled code, 14 MB of source tarballs). Heaviest: stringi 11 MB, vctrs 1.0 MB, rlang 766 KB.
Code & Tests
People & History
Show 20 more contributorsHide 20 contributors
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest2014-02-01 · current release · diff ↗ ·
added 8 exports
add_load_installr_on_startup_menu, add_remove_installr_from_startup_menu, fetch_tag_from_Rd, load_installr_on_startup, package_authors, pkgDNLs_worldmapcolor, rm_installr_from_startup, up_folder - 3.0.22013-07-04 · diff ↗
- 3.0.1
Show 24 earlier eventsHide 24 earlier events
- RR 3.0.0 released · 2013-04-03
- 3.0.02013-03-29 · diff ↗ ·
added 32 exports
ask.user.yn.question, install.7zip, install.Cygwin, install.FFmpeg, install.GraphicsMagick, install.ImageMagick, install.LaTeX2RTF, install.LyX, install.SWFTools, install.cygwin, install.ffmpeg, install.github, install.graphicsmagick, install.imagemagick, install.latex2rtf, install.lyx, install.miktex, install.notepadpp, install.npptor, install.rstudio, install.rtools, install.swftools, installr, is.RStudio, is.Rgui, os.hibernate, os.lock, os.manage, os.restart, os.shutdown and 2 more - 0.23.42022-11-12 · diff ↗
- 0.23.2
- 0.22.02019-08-02 · diff ↗
- 0.21.32019-06-09 · diff ↗
- 0.21.02018-10-06 · diff ↗ ·
added 6 exports
install.Java, install.Jdk, install.OpenJdk, install.java, install.jdk, install.openjdk - 0.20.0
- 0.19.0
- 0.18.0
- 0.17.82016-05-14 · diff ↗
- 0.17.52016-03-21 · diff ↗
- 0.17.42016-03-19 · diff ↗
- 0.17.02015-09-15 · diff ↗
- 0.16.02015-06-13 · diff ↗
- 0.15.172015-06-03 · diff ↗ ·
added 7 exports
install.CMake, install.Texmaker, install.cmake, install.texmaker, rename_r_to_R, updater, xlsx2csv - 0.15.32014-06-15 · diff ↗ ·
added 7 exports
get_Rscript_PID, get_pid, get_tasklist, kill_all_Rscript_s, kill_pid, kill_process, uninstall.packages - 0.14.02014-04-02 · diff ↗
- 0.13.32014-02-02 · diff ↗
- 0.10.12013-07-04 · diff ↗ ·
added 14 exports
R_version_in_a_folder, barplot_package_users_per_day, download_RStudio_CRAN_data, format_RStudio_CRAN_data, freegeoip, install.Rdevel, is.empty, lineplot_package_downloads, most_downloaded_packages, myip, read_RStudio_CRAN_data, restart_RGui, uninstall.R, uninstall.r - 0.9.22013-05-17 · diff ↗
- 0.92013-03-30 · diff ↗
- 0.82013-03-05
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2013-03-05
- Total releases
- 25 / 13 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 2.14.0
- Download size
- 155 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("installr")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.