/
How to upload a server-side function

How to upload a server-side function

Steps to follow for uploading server-side functions:

  • In the opal server click the Administration option and under the Data Analysis section click the DataSHIELD option. 

  • Under the section Methods choose the type of your function; Aggregate or Assign.

Aggregate and assign functions

Aggregate functions are the functions that return non-disclosive information to the client


Assign functions are the functions that do not return their output to the client but rather save it on the server


 

  • Click the option Add Method, write the Name of your function and choose the Type R script.

 

  • Under the section Function copy and paste your code without copying the name of the function.

 

  • To check and use the new uploaded function you should logout of the Opal training servers from the DataSHIELD client.
datashield.logout(opals)
  • Login again to the Opal training servers.

 

 


Related content

List of all DataSHIELD functions v6.1
List of all DataSHIELD functions v6.1
Read with this
How to create a new function
How to create a new function
More like this
Update or install packages on the training Opal servers
Update or install packages on the training Opal servers
More like this
Update or install packages on the training Opal servers v5
Update or install packages on the training Opal servers v5
More like this
The opaladmin package
The opaladmin package
More like this
Checks for server site functions
Checks for server site functions
More like this

DataSHIELD Wiki by DataSHIELD is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on a work at http://www.datashield.ac.uk/wiki