Install package from CRAN repos. To install the latest version of a package, it has to be removed first.
Arguments
- opal
Opal object or list of opal objects.
- pkg
Package name.
- repos
Character vector, the base URLs of the repositories to use.
- 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_local_package(),
oadmin.installed_devtools(),
oadmin.installed_package(),
oadmin.installed_packages(),
oadmin.package_description(),
oadmin.remove_package()
Examples
if (FALSE) { # \dontrun{
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
oadmin.install_package(o, 'xxx')
opal.logout(o)
} # }