Learn R Programming

installr (version 0.8)

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

Description

Gets a character with a link to an installer file, downloads it, runs it, and then erases it.

Usage

install.URL(exe_URL, keep_install_file = F)

Arguments

exe_URL
A character with a link to an installer file (with the .exe file extension)
keep_install_file
If TRUE - the installer file will not be erased after it is downloaded and run.

Value

  • Nothing.

Details

This function is used by many functions in the installr package. The .exe file is downloaded into a temporary directory, where it is erased after installation has started (by default - though this can be changed)

Examples

Run this code
# install.URL()

Run the code above in your browser using DataLab