powered by
Set DataSHIELD method
dsadmin.set_method(opal, name, func = NULL, path = NULL, type = "aggregate")
Opal object or list of opal objects.
Name of the method, as it will be accessed by DataSHIELD users.
Function name.
Path to the R file containing the script (mutually exclusive with func).
Type of the method: "aggregate" (default) or "assign"
Other DataSHIELD functions: dsadmin.get_methods(), dsadmin.get_method(), dsadmin.get_options(), dsadmin.install_github_package(), dsadmin.install_local_package(), dsadmin.install_package(), dsadmin.installed_package(), dsadmin.package_descriptions(), dsadmin.package_description(), dsadmin.remove_package(), dsadmin.rm_methods(), dsadmin.rm_method(), dsadmin.rm_option(), dsadmin.rm_package_methods(), dsadmin.set_option(), dsadmin.set_package_methods()
dsadmin.get_methods()
dsadmin.get_method()
dsadmin.get_options()
dsadmin.install_github_package()
dsadmin.install_local_package()
dsadmin.install_package()
dsadmin.installed_package()
dsadmin.package_descriptions()
dsadmin.package_description()
dsadmin.remove_package()
dsadmin.rm_methods()
dsadmin.rm_method()
dsadmin.rm_option()
dsadmin.rm_package_methods()
dsadmin.set_option()
dsadmin.set_package_methods()
# NOT RUN { o <- opal.login('administrator','password', url='https://opal-demo.obiba.org') dsadmin.set_method(o, 'foo', 'base::mean') opal.logout(o) # }
Run the code above in your browser using DataLab