Learn R Programming

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

installr (version 0.16.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.16.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Tal Galili

Last Published

June 13th, 2015

Functions in installr (0.16.0)

add_to_.First_in_Rprofile.site

Add a code line to Rprofile.site .First
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
is.empty

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

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

Shut down the operating system with the command `shutdown'
add_remove_installr_from_startup_menu

Add menu item for having installr NOT load on startup
installr

Installing software from R
get_tasklist

Get the running processes in windows task manager
is.exe.installed

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

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

Turns version to number (for a vector of values)
xlsx2csv

Converts xls(x) to csv using VB
add_load_installr_on_startup_menu

Add menu item for having installr load on startup
barplot_package_users_per_day

barplot for the number of users installation of a package
install.R

Downloads and installs the latest R version
is.windows

Checks if the running OS is windows
is_in_.First_in_Rprofile.site

Remove a code line from Rprofile.site .First
up_folder

Performs "up-level" on a folder string
install.7zip

Downloads and installs 7-Zip for windows
install.CMake

Downloads and installs CMake for windows
install.LyX

Downloads and installs LyX for windows
checkMD5sums2

Check and Create MD5 Checksum Files
install.GitHub

Downloads and installs GitHub for windows
restart_RGui

Restart RGui from RGui
get_Rscript_PID

Get the running "Rscript" processes PID
install.GraphicsMagick

Downloads and installs GraphicsMagick for windows
install.SWFTools

Downloads and installs SWFTools for windows
install.URL

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

Uninstall an R version
install.ImageMagick

Downloads and installs ImageMagick for windows
turn.version.to.number1

Turns version to number (for 1 value only)
ask.user.yn.question

Asks the user for one yes/no question.
cranometer

Measures the speed of downloading from different CRAN mirrors
install.FFmpeg

Downloads and installs FFmpeg for windows
install.git

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

Downloads and installs LaTeX2RTF for windows
os.manage

Gives managing option to the current OS (shutdown, restart, sleep, hibernate, etc...)
install.npptor

Downloads and installs NppToR for windows
freegeoip

Geolocate IP addresses in R
myip

Retreiving your public IP via http://api.exip.org/
is.RStudio

Checks if the R session is running within RStudio
system.PATH

Returns the search path for executable files
os.sleep

Sleeps the operating system (Windows) through a shell command
pkgDNLs_worldmapcolor

Worldmap colored by the number of downloads for a given package
os.lock

Locks the operating system (Windows) through a shell command
add.installr.GUI

Adds a menu based GUI for updating R within Rgui
ask.user.for.a.row

Asks the user for a row number from a data.frame table
check.for.updates.R

Checks if there is a newer version of R
fetch_tag_from_Rd

Access tag elements from R's Rd file
install.Rtools

Downloads and installs Rtools
install.RStudio

Downloads and installs RStudio for windows
kill_pid

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

barplot for the number of users installation of a package
require2

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

Access (and clean) author elements from R's Rd file
turn.number.version

Turns a vector of version-numbers back to version-character
download_RStudio_CRAN_data

Download RStudio CRAN mirror data files into a folder
get_pid

Find the pid of a process by name
get.installed.R.folders

Returns folder names with R installations
install.Texmaker

Downloads and installs Texmaker for windows
is.Rgui

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

Downloads and installs pandoc
os.hibernate

Hibernate the operating system (Windows) through a shell command
install.Rdevel

Downloads and installs the latest Rdevel version
rm_installr_from_startup

Have the installr package NOT load on startup
rename_r_to_R

Rename files' extensions in a folder from .r to .R
uninstall.packages

uninstalls (removes) Installed Packages
create.global.library

Creates a global library folder
most_downloaded_packages

Most downloaded packages
remove_from_.First_in_Rprofile.site

Remove a code line from Rprofile.site .First
format_RStudio_CRAN_data

Format the RStudio CRAN mirror data into the data.table format
check.integer

Check if a number is integer
file.name.from.url

Extract the file name from some URL
install.Cygwin

Downloads and installs Cygwin for windows
install.packages.zip

Downloads and installs a ZIP R package Binary (for Windows) from a URL
install.notepadpp

Downloads and installs Notepad++ for windows
install.MikTeX

Downloads and installs MikTeX for windows
kill_all_Rscript_s

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

Have the installr package load on startup
remove.installr.GUI

Removes the menu based GUI for updating R within Rgui
source.https

Read R Code from a File in an https URL
updateR

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

Reads RStudio CRAN mirror data files from a folder