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:
install.packages("installr")
AuthorTal Galili [aut, cre, cph] (http://www.r-statistics.com), Barry Rowlingson [ctb], Boris Hejblum [ctb], Dason [ctb], Felix Schonbrodt [ctb], G. Grothendieck [ctb], GERGELY DAROCZI [ctb], Heuristic Andrew [ctb], James [ctb] (http://stackoverflow.com/users/269476/james), Thomas Leeper [ctb] (http://thomasleeper.com/), VitoshKa [ctb], Yihui Xie [ctb] (http://yihui.name), Michael Friendly [ctb] (http://datavis.ca/), Kornelius Rohmeyer [ctb] (http://algorithm-forge.com/techblog/), Dieter Menne [ctb], Tyler Hunt [ctb] (https://github.com/JackStat), Takekatsu Hiramura [ctb] (https://github.com/hiratake55), Berry Boessenkool [ctb] (https://github.com/BerryBoessenkool), Jonathan Godfrey [ctb] (https://github.com/ajrgodfrey), Tom Allard [ctb], ChingChuan Chen [ctb], Jonathan Hill [ctb]
Date of publication2017-04-21 18:10:28 UTC
MaintainerTal Galili <tal.galili@gmail.com>
LicenseGPL-2
Version0.19.0
https://github.com/talgalili/installr/, http://www.r-statistics.com/tag/installr/

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_to_.First_in_Rprofile.site: Add a code line to Rprofile.site .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

create.global.library: 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

file.name.from.url: 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

install.packages.zip: 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...

is_in_.First_in_Rprofile.site: Remove a code line from Rprofile.site .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

is.windows: 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_from_.First_in_Rprofile.site: Remove a code line from Rprofile.site .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

turn.version.to.number: Turns version to number (for a vector of values)

turn.version.to.number1: 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

Functions

add.installr.GUI Man page
add_load_installr_on_startup_menu Man page
add_remove_installr_from_startup_menu Man page
add_to_.First_in_Rprofile.site 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
create.global.library Man page
download_RStudio_CRAN_data Man page
fetch_tag_from_Rd Man page
file.name.from.url 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
install.packages.zip 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
is_in_.First_in_Rprofile.site Man page
is.Rgui Man page
is.RStudio Man page
is.windows 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
remove_from_.First_in_Rprofile.site 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
turn.version.to.number Man page
turn.version.to.number1 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

Files

TODO
NAMESPACE
NEWS
NEWS.md
R
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/create.global.library.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
README.md
MD5
DESCRIPTION
ChangeLog
man
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/install.packages.zip.Rd 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/add_to_.First_in_Rprofile.site.Rd man/os.sleep.Rd man/install.npptor.Rd man/turn.version.to.number1.Rd 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/remove_from_.First_in_Rprofile.site.Rd man/is_in_.First_in_Rprofile.site.Rd 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/is.windows.Rd 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/create.global.library.Rd 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/file.name.from.url.Rd man/install.pandoc.Rd man/turn.version.to.number.Rd 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 ian@mutexlabs.com.

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

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