Learn R Programming

devtools (version 1.13.6)

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(), ..., quiet = FALSE)

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.

quiet

if TRUE suppresses output from this function.

See Also

Other package installation: install_bioc, install_bitbucket, install_cran, install_github, install_git, install_svn, install_version, install, uninstall

Examples

Run this code
# NOT RUN {
install_url("https://github.com/hadley/stringr/archive/master.zip")
# }

Run the code above in your browser using DataLab