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.

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.

Examples

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)
}