Learn R Programming

opalr (version 3.4.2)

dsadmin.profile_init: Initialize a DataSHIELD profile

Description

Clean the DataSHIELD's profile settings from all methods and options (including custom ones). These settings are then repopulated with installed DataSHIELD R packages settings, optionaly filtered by the name. See also dsadmin.publish_package, dsadmin.set_package_methods or dsadmin.set_option.

Usage

dsadmin.profile_init(opal, name, packages = NULL)

Arguments

opal

Opal object.

name

Name of the profile.

packages

A list DataSHIELD R package names

See Also

Other DataSHIELD profiles: dsadmin.profile(), dsadmin.profile_access(), dsadmin.profile_create(), dsadmin.profile_delete(), dsadmin.profile_enable(), dsadmin.profile_exists(), dsadmin.profile_perm(), dsadmin.profile_perm_add(), dsadmin.profile_perm_delete(), dsadmin.profile_rparser(), dsadmin.profiles()

Examples

Run this code
if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
dsadmin.profile_create(o, name = 'survival', cluster = 'demo')
dsadmin.profile_init(o, name = 'survival', packages = c('dsSurvival'))
opal.logout(o)
}

Run the code above in your browser using DataLab