dsadmin.profile_init: Initialize a DataSHIELD profile

Description Usage Arguments See Also Examples

View source: R/datashield.admin.R

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

1
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_access(), dsadmin.profile_create(), dsadmin.profile_delete(), dsadmin.profile_enable(), dsadmin.profile_exists(), dsadmin.profile_perm_add(), dsadmin.profile_perm_delete(), dsadmin.profile_perm(), dsadmin.profile_rparser(), dsadmin.profiles(), dsadmin.profile()

Examples

1
2
3
4
5
6
7
## Not run: 
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)

## End(Not run)

opalr documentation built on Oct. 26, 2021, 5:06 p.m.