Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Steps to follow for uploading server-side functions:

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

  • Under the section Methods section Methods choose the type of your function; Aggregate or Assign.
section
Sectioninfo
titleAggregate and assign functions

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

Section


Image Modified

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

Section


Image Modified 

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

 

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

 Image Removed

...

Image Added

  • To check and use the new uploaded function you should

...

  • logout of the Opal training servers from the

...

  • DataSHIELD client.
Code Block
languagebash
datashield.logout(opals)
  • Login again to the Opal training servers.