Learn R Programming

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

installr (version 0.15.17)

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.15.17

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Tal Galili

Last Published

June 3rd, 2015

Functions in installr (0.15.17)

add_to_.First_in_Rprofile.site

Add a code line to Rprofile.site .First
get_Rscript_PID

Get the running "Rscript" processes PID
os.shutdown

Shut down the operating system with the command `shutdown'
turn.number.version

Turns a vector of version-numbers back to version-character
install.Rdevel

Downloads and installs the latest Rdevel version
install.MikTeX

Downloads and installs MikTeX for windows
restart_RGui

Restart RGui from RGui
R_version_in_a_folder

Get the version of the R installed in a folder
check.integer

Check if a number is integer
install.Cygwin

Downloads and installs Cygwin for windows
install.GitHub

Downloads and installs GitHub for windows
install.npptor

Downloads and installs NppToR for windows
kill_pid

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

Checks if the running OS is windows
os.restart

Restarts the operating system (Windows) through a shell command
myip

Retreiving your public IP via http://api.exip.org/
os.manage

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

Locks the operating system (Windows) through a shell command
up_folder

Performs "up-level" on a folder string
add_remove_installr_from_startup_menu

Add menu item for having installr NOT load on startup
is.RStudio

Checks if the R session is running within RStudio
install.URL

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

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

Have the installr package NOT load on startup
updateR

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

Get the running processes in windows task manager
get.installed.R.folders

Returns folder names with R installations
install.ImageMagick

Downloads and installs ImageMagick for windows
is.Rgui

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

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

Downloads and installs pandoc
most_downloaded_packages

Most downloaded packages
install.R

Downloads and installs the latest R version
load_installr_on_startup

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

Removes the menu based GUI for updating R within Rgui
create.global.library

Creates a global library folder
check.for.updates.R

Checks if there is a newer version of R
freegeoip

Geolocate IP addresses in R
install.Texmaker

Downloads and installs Texmaker for windows
install.LyX

Downloads and installs LyX for windows
is_in_.First_in_Rprofile.site

Remove a code line from Rprofile.site .First
lineplot_package_downloads

barplot for the number of users installation of a package
pkgDNLs_worldmapcolor

Worldmap colored by the number of downloads for a given package
source.https

Read R Code from a File in an https URL
uninstall.R

Uninstall an R version
install.GraphicsMagick

Downloads and installs GraphicsMagick for windows
install.packages.zip

Downloads and installs a ZIP R package Binary (for Windows) from a URL
uninstall.packages

uninstalls (removes) Installed Packages
add_load_installr_on_startup_menu

Add menu item for having installr load on startup
checkMD5sums2

Check and Create MD5 Checksum Files
remove_from_.First_in_Rprofile.site

Remove a code line from Rprofile.site .First
install.7zip

Downloads and installs 7-Zip for windows
install.LaTeX2RTF

Downloads and installs LaTeX2RTF for windows
install.git

Downloads and installs git and git-gui for windows
turn.version.to.number

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

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

Download RStudio CRAN mirror data files into a folder
barplot_package_users_per_day

barplot for the number of users installation of a package
copy.packages.between.libraries

Copies all packages from one library folder to another
install.RStudio

Downloads and installs RStudio for windows
install.notepadpp

Downloads and installs Notepad++ for windows
ask.user.for.a.row

Asks the user for a row number from a data.frame table
os.sleep

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

Find the pid of a process by name
install.CMake

Downloads and installs CMake for windows
kill_all_Rscript_s

kill (i.e.: stop) all running "Rscript" processes
is.exe.installed

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

Format the RStudio CRAN mirror data into the data.table format
is.empty

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

Returns the search path for executable files
fetch_tag_from_Rd

Access tag elements from R's Rd file
file.name.from.url

Extract the file name from some URL
install.SWFTools

Downloads and installs SWFTools for windows
xlsx2csv

Converts xls(x) to csv using VB
cranometer

Measures the speed of downloading from different CRAN mirrors
installr

Installing software from R
read_RStudio_CRAN_data

Reads RStudio CRAN mirror data files from a folder
install.FFmpeg

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

Turns version to number (for 1 value only)
require2

Loading Packages (and Installing them if they are missing)
ask.user.yn.question

Asks the user for one yes/no question.
add.installr.GUI

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

Downloads and installs Rtools
kill_process

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