installr: Using R to Install Stuff (Such As: R, 'Rtools', 'RStudio', 'Git', and More!)

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.

Install the latest version of this package by entering the following in R:
AuthorTal Galili [aut, cre, cph] (, Barry Rowlingson [ctb], Boris Hejblum [ctb], Dason [ctb], Felix Schonbrodt [ctb], G. Grothendieck [ctb], GERGELY DAROCZI [ctb], Heuristic Andrew [ctb], James [ctb] (, Thomas Leeper [ctb] (, VitoshKa [ctb], Yihui Xie [ctb] (, Michael Friendly [ctb] (, Kornelius Rohmeyer [ctb] (, Dieter Menne [ctb], Tyler Hunt [ctb] (, Takekatsu Hiramura [ctb] (, Berry Boessenkool [ctb] (, Jonathan Godfrey [ctb] (, Tom Allard [ctb], ChingChuan Chen [ctb], Jonathan Hill [ctb]
Date of publication2017-04-21 18:10:28 UTC
MaintainerTal Galili <>

View on CRAN

Man pages

add.installr.GUI: Adds a menu based GUI for updating R within Rgui

add_load_installr_on_startup_menu: Add menu item for having installr load on startup

add_remove_installr_from_startup_menu: Add menu item for having installr NOT load on startup Add a code line to .First

ask.user.for.a.row: Asks the user for a row number from a data.frame table

ask.user.yn.question: Asks the user for one yes/no question.

barplot_package_users_per_day: barplot for the number of users installation of a package

browse.latest.R.NEWS: See the NEWS file for the latest R release

check.for.updates.R: Checks if there is a newer version of R

check.integer: Check if a number is integer

checkMD5sums2: Check and Create MD5 Checksum Files

copy.packages.between.libraries: Copies all packages from one library folder to another

cranometer: Measures the speed of downloading from different CRAN mirrors Creates a global library folder

download_RStudio_CRAN_data: Download RStudio CRAN mirror data files into a folder

fetch_tag_from_Rd: Access tag elements from R's Rd file Extract the file name from some URL

format_RStudio_CRAN_data: Format the RStudio CRAN mirror data into the data.table...

freegeoip: Geolocate IP addresses in R

get.installed.R.folders: Returns folder names with R installations

get_pid: Find the pid of a process by name

get_Rscript_PID: Get the running "Rscript" processes PID

get_tasklist: Get the running processes in windows task manager

install.7zip: Downloads and installs 7-Zip for windows

install.CMake: Downloads and installs CMake for windows

install.Cygwin: Downloads and installs Cygwin for windows

install.FFmpeg: Downloads and installs FFmpeg for windows

install.git: Downloads and installs git and git-gui for windows

install.GitHub: Downloads and installs GitHub for windows

install.GraphicsMagick: Downloads and installs GraphicsMagick for windows

install.ImageMagick: Downloads and installs ImageMagick for windows

install.inno: Downloads and installs Inno Setup

install.LaTeX2RTF: Downloads and installs LaTeX2RTF for windows

install.LyX: Downloads and installs LyX for windows

install.MikTeX: Downloads and installs MikTeX for windows

install.notepadpp: Downloads and installs Notepad++ for windows

install.npptor: Downloads and installs NppToR for windows Downloads and installs a ZIP R package Binary (for Windows)...

install.pandoc: Downloads and installs pandoc

install.python: Downloads and installs python 2 or 3

installr: Installing software from R

install.R: Downloads and installs the latest R version

install.Rdevel: Downloads and installs the latest Rdevel version

installr-package: Using R to Install Stuff (Such As: R, Rtools, RStudio, Git,...

install.RStudio: Downloads and installs RStudio for windows

install.Rtools: Downloads and installs Rtools

install.SWFTools: Downloads and installs SWFTools for windows

install.Texmaker: Downloads and installs Texmaker for windows

install.URL: Downloads and runs a .exe installer file for some software...

is.empty: Checks if an object is empty (e.g: of zero length)

is.exe.installed: Checks if some .exe is available in on the Windows machine... Remove a code line from .First

is.Rgui: Checks if the R session is running within Rgui (Windows OS)

is.RStudio: Checks if the R session is running within RStudio Checks if the running OS is windows

kill_all_Rscript_s: kill (i.e.: stop) all running "Rscript" processes

kill_pid: kill (i.e.: stop) running processes by there pid

kill_process: kill (i.e.: stop) running processes by there process name

lineplot_package_downloads: barplot for the number of users installation of a package

load_installr_on_startup: Have the installr package load on startup

most_downloaded_packages: Most downloaded packages

myip: What is my IP

os.hibernate: Hibernate the operating system (Windows) through a shell...

os.lock: Locks the operating system (Windows) through a shell command

os.manage: Gives managing option to the current OS (shutdown, restart,...

os.restart: Restarts the operating system (Windows) through a shell...

os.shutdown: Shut down the operating system with the command 'shutdown'

os.sleep: Sleeps the operating system (Windows) through a shell command

package_authors: Access (and clean) author elements from R's Rd file

pkgDNLs_worldmapcolor: Worldmap colored by the number of downloads for a given...

read_RStudio_CRAN_data: Reads RStudio CRAN mirror data files from a folder Remove a code line from .First

remove.installr.GUI: Removes the menu based GUI for updating R within Rgui

rename_r_to_R: Rename files' extensions in a folder from .r to .R

require2: Loading Packages (and Installing them if they are missing)

restart_RGui: Restart RGui from RGui

rm_installr_from_startup: Remove installr from startup

R_version_in_a_folder: Get the version of the R installed in a folder

source.https: Read R Code from a File in an https URL

system.PATH: Returns the search path for executable files

turn.number.version: Turns a vector of version-numbers back to version-character Turns version to number (for a vector of values) Turns version to number (for 1 value only)

uninstall.packages: uninstalls (removes) Installed Packages

uninstall.R: Uninstall an R version

updateR: Checks for the latest R version, and if there is a newer...

up_folder: Performs "up-level" on a folder string

xlsx2csv: Converts xls(x) to csv using VB


add.installr.GUI Man page
add_load_installr_on_startup_menu Man page
add_remove_installr_from_startup_menu Man page Man page
ask.user.for.a.row Man page
ask.user.yn.question Man page
barplot_package_users_per_day Man page
browse.latest.R.NEWS Man page
check.for.updates.R Man page
check.integer Man page
checkMD5sums2 Man page
copy.packages.between.libraries Man page
cranometer Man page Man page
download_RStudio_CRAN_data Man page
fetch_tag_from_Rd Man page Man page
format_RStudio_CRAN_data Man page
freegeoip Man page
get.installed.R.folders Man page
get_pid Man page
get_Rscript_PID Man page
get_tasklist Man page
install.7zip Man page
install.cmake Man page
install.CMake Man page
install.cygwin Man page
install.Cygwin Man page
install.ffmpeg Man page
install.FFmpeg Man page
install.git Man page
install.github Man page
install.GitHub Man page
install.graphicsmagick Man page
install.GraphicsMagick Man page
install.imagemagick Man page
install.ImageMagick Man page
install.inno Man page
install.latex2rtf Man page
install.LaTeX2RTF Man page
install.lyx Man page
install.LyX Man page
install.miktex Man page
install.MikTeX Man page
install.notepadpp Man page
install.npptor Man page Man page
install.pandoc Man page
install.python Man page
installr Man page
install.R Man page
install.Rdevel Man page
installr-package Man page
install.rstudio Man page
install.RStudio Man page
install.rtools Man page
install.Rtools Man page
install.swftools Man page
install.SWFTools Man page
install.texmaker Man page
install.Texmaker Man page
install.URL Man page
is.empty Man page
is.exe.installed Man page Man page
is.Rgui Man page
is.RStudio Man page Man page
kill_all_Rscript_s Man page
kill_pid Man page
kill_process Man page
lineplot_package_downloads Man page
load_installr_on_startup Man page
most_downloaded_packages Man page
myip Man page
os.hibernate Man page
os.lock Man page
os.manage Man page
os.restart Man page
os.shutdown Man page
os.sleep Man page
package_authors Man page
pkgDNLs_worldmapcolor Man page
read_RStudio_CRAN_data Man page Man page
remove.installr.GUI Man page
rename_r_to_R Man page
require2 Man page
restart_RGui Man page
rm_installr_from_startup Man page
R_version_in_a_folder Man page
source.https Man page
system.PATH Man page
turn.number.version Man page Man page Man page
uninstall.packages Man page
uninstall.r Man page
uninstall.R Man page
updater Man page
updateR Man page
up_folder Man page
xlsx2csv Man page


R/geo_functions.R R/updateR.R R/install.R R/kill_pid.R R/os.manage.R R/install.inno.R R/installr-package.R R/ R/RStudio_CRAN_data.R R/startup.R R/xlsx2csv.R R/zzz.R R/installPython.R R/rename_r_to_R.R R/is.x.R
man/require2.Rd man/fetch_tag_from_Rd.Rd man/most_downloaded_packages.Rd man/is.RStudio.Rd man/ask.user.yn.question.Rd man/uninstall.packages.Rd man/download_RStudio_CRAN_data.Rd man/load_installr_on_startup.Rd man/install.Rdevel.Rd man/install.7zip.Rd man/read_RStudio_CRAN_data.Rd man/ man/copy.packages.between.libraries.Rd man/rm_installr_from_startup.Rd man/get_tasklist.Rd man/os.lock.Rd man/rename_r_to_R.Rd man/system.PATH.Rd man/install.SWFTools.Rd man/source.https.Rd man/install.Rtools.Rd man/barplot_package_users_per_day.Rd man/ man/os.sleep.Rd man/install.npptor.Rd man/ man/install.Cygwin.Rd man/is.exe.installed.Rd man/add_load_installr_on_startup_menu.Rd man/format_RStudio_CRAN_data.Rd man/updateR.Rd man/get_Rscript_PID.Rd man/install.LaTeX2RTF.Rd man/add.installr.GUI.Rd man/ man/ man/add_remove_installr_from_startup_menu.Rd man/install.LyX.Rd man/kill_pid.Rd man/os.manage.Rd man/is.Rgui.Rd man/get_pid.Rd man/install.RStudio.Rd man/remove.installr.GUI.Rd man/ man/kill_all_Rscript_s.Rd man/restart_RGui.Rd man/pkgDNLs_worldmapcolor.Rd man/freegeoip.Rd man/os.restart.Rd man/install.URL.Rd man/ man/install.ImageMagick.Rd man/get.installed.R.folders.Rd man/package_authors.Rd man/installr-package.Rd man/checkMD5sums2.Rd man/turn.number.version.Rd man/browse.latest.R.NEWS.Rd man/uninstall.R.Rd man/check.for.updates.R.Rd man/install.GitHub.Rd man/install.R.Rd man/kill_process.Rd man/check.integer.Rd man/install.CMake.Rd man/lineplot_package_downloads.Rd man/install.FFmpeg.Rd man/xlsx2csv.Rd man/install.inno.Rd man/install.GraphicsMagick.Rd man/ask.user.for.a.row.Rd man/ man/install.pandoc.Rd man/ man/os.hibernate.Rd man/install.Texmaker.Rd man/install.python.Rd man/myip.Rd man/install.notepadpp.Rd man/is.empty.Rd man/install.git.Rd man/installr.Rd man/up_folder.Rd man/cranometer.Rd man/install.MikTeX.Rd man/os.shutdown.Rd man/R_version_in_a_folder.Rd

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.