devtools (version 1.6.1)

install_url: Install a package from a url

Description

This function is vectorised so you can install multiple packages in a single command.

Usage

install_url(url, subdir = NULL, config = list(), ...)

Arguments

url
location of package on internet. The url should point to a zip file, a tar file or a bzipped/gzipped tar file.
subdir
subdirectory within url bundle that contains the R package.
config
additional configuration argument (e.g. proxy, authentication) passed on to GET.
...
Other arguments passed on to install.

See Also

Other package installation: install_bitbucket; install_github; install_gitorious; install_git; install_svn; install_version; install

Examples

Run this code
install_url("https://github.com/hadley/stringr/archive/master.zip")

Run the code above in your browser using DataCamp Workspace