Learn R Programming

⚠️There's a newer version (0.23.4) of this package.Take me there.

installr (version 0.17.0)

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

Description

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.

Copy Link

Version

Install

install.packages('installr')

Monthly Downloads

24,447

Version

0.17.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Tal Galili

Last Published

September 14th, 2015

Functions in installr (0.17.0)

R_version_in_a_folder

Get the version of the R installed in a folder
copy.packages.between.libraries

Copies all packages from one library folder to another
fetch_tag_from_Rd

Access tag elements from R's Rd file
add_remove_installr_from_startup_menu

Add menu item for having installr NOT load on startup
get_pid

Find the pid of a process by name
install.LaTeX2RTF

Downloads and installs LaTeX2RTF for windows
install.Rtools

Downloads and installs Rtools
install.ImageMagick

Downloads and installs ImageMagick for windows
is.RStudio

Checks if the R session is running within RStudio
kill_process

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

Have the installr package load on startup
file.name.from.url

Extract the file name from some URL
install.GraphicsMagick

Downloads and installs GraphicsMagick for windows
install.7zip

Downloads and installs 7-Zip for windows
install.Cygwin

Downloads and installs Cygwin for windows
install.notepadpp

Downloads and installs Notepad++ for windows
installr

Installing software from R
kill_pid

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

Downloads and installs GitHub for windows
checkMD5sums2

Check and Create MD5 Checksum Files
install.R

Downloads and installs the latest R version
install.pandoc

Downloads and installs pandoc
install.CMake

Downloads and installs CMake for windows
install.Rdevel

Downloads and installs the latest Rdevel version
os.hibernate

Hibernate the operating system (Windows) through a shell command
is_in_.First_in_Rprofile.site

Remove a code line from Rprofile.site .First
rename_r_to_R

Rename files' extensions in a folder from .r to .R
install.SWFTools

Downloads and installs SWFTools for windows
lineplot_package_downloads

barplot for the number of users installation of a package
uninstall.packages

uninstalls (removes) Installed Packages
create.global.library

Creates a global library folder
add_load_installr_on_startup_menu

Add menu item for having installr load on startup
format_RStudio_CRAN_data

Format the RStudio CRAN mirror data into the data.table format
install.git

Downloads and installs git and git-gui for windows
get_tasklist

Get the running processes in windows task manager
turn.number.version

Turns a vector of version-numbers back to version-character
installr-package

Using R to Install Stuff (Such As: R, Rtools, RStudio, Git, and More!)
os.lock

Locks the operating system (Windows) through a shell command
is.empty

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

Worldmap colored by the number of downloads for a given package
require2

Loading Packages (and Installing them if they are missing)
read_RStudio_CRAN_data

Reads RStudio CRAN mirror data files from a folder
os.sleep

Sleeps the operating system (Windows) through a shell command
check.for.updates.R

Checks if there is a newer version of R
install.LyX

Downloads and installs LyX for windows
install.Texmaker

Downloads and installs Texmaker for windows
install.RStudio

Downloads and installs RStudio for windows
install.URL

Downloads and runs a .exe installer file for some software from a URL
kill_all_Rscript_s

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

Retreiving your public IP via http://api.exip.org/
install.npptor

Downloads and installs NppToR for windows
most_downloaded_packages

Most downloaded packages
turn.version.to.number

Turns version to number (for a vector of values)
source.https

Read R Code from a File in an https URL
download_RStudio_CRAN_data

Download RStudio CRAN mirror data files into a folder
is.exe.installed

Checks if some .exe is available in on the Windows machine search PATH
rm_installr_from_startup

Have the installr package NOT load on startup
os.restart

Restarts the operating system (Windows) through a shell command
turn.version.to.number1

Turns version to number (for 1 value only)
xlsx2csv

Converts xls(x) to csv using VB
up_folder

Performs "up-level" on a folder string
cranometer

Measures the speed of downloading from different CRAN mirrors
freegeoip

Geolocate IP addresses in R
os.manage

Gives managing option to the current OS (shutdown, restart, sleep, hibernate, etc...)
remove_from_.First_in_Rprofile.site

Remove a code line from Rprofile.site .First
updateR

Checks for the latest R version, and if there is a newer version of R - downloads and installs it.
check.integer

Check if a number is integer
barplot_package_users_per_day

barplot for the number of users installation of a package
get.installed.R.folders

Returns folder names with R installations
get_Rscript_PID

Get the running "Rscript" processes PID
add.installr.GUI

Adds a menu based GUI for updating R within Rgui
install.FFmpeg

Downloads and installs FFmpeg for windows
is.windows

Checks if the running OS is windows
package_authors

Access (and clean) author elements from R's Rd file
uninstall.R

Uninstall an R version
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.
install.MikTeX

Downloads and installs MikTeX for windows
is.Rgui

Checks if the R session is running within Rgui (Windows OS)
install.packages.zip

Downloads and installs a ZIP R package Binary (for Windows) from a URL
os.shutdown

Shut down the operating system with the command `shutdown'
remove.installr.GUI

Removes the menu based GUI for updating R within Rgui
system.PATH

Returns the search path for executable files
restart_RGui

Restart RGui from RGui