Learn R Programming

opalr (version 3.4.2)

oadmin.install_local_package: Install a package from a local archive file

Description

Install a package from a package archive file. This will upload the archive file and run its installation in the R server. The R server profile to which the operation applies is the one specified at login time.

Usage

oadmin.install_local_package(opal, path, profile = NULL)

Arguments

opal

Opal object or list of opal objects.

path

Path to the package archive file.

profile

The R servers profile name to which operation applies. See also opal.profiles.

See Also

Other administration functions: oadmin.install_bioconductor_package(), oadmin.install_cran_package(), oadmin.install_devtools(), oadmin.install_github_package(), oadmin.install_package(), oadmin.installed_devtools(), oadmin.installed_package(), oadmin.installed_packages(), oadmin.package_description(), oadmin.remove_package()

Examples

Run this code
if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
# install a pre-built local archive file
oadmin.install_local_package(o, '~/Rserve_1.8-7.tar.gz')
# or build archive file from local package source (in current working folder)
oadmin.install_local_package(o, devtools::build())
opal.logout(o)
}

Run the code above in your browser using DataLab