# Developer support

**URL:** https://datashield.discourse.group/c/support/dev-support/7.md?page=1

[Latest](https://datashield.discourse.group/latest.md) · [Categories](https://datashield.discourse.group/categories.md) · [Tags](https://datashield.discourse.group/tags.md)

**Page:** 2

---

## [DataSHIELD Package Information](https://datashield.discourse.group/t/datashield-package-information/398)

<div class="topic-metadata">

**Author:** [@swheater](https://datashield.discourse.group/u/swheater)\
**Replies:** 3\
**Last updated:** [14 June 2021 08:34 UTC](https://datashield.discourse.group/t/datashield-package-information/398 "2021-06-14T08:34:33Z")

</div>

I have been gathering opinions about the information we should gather about the DataSHIELD packages which are being developed across the DataSHIELD community. The aim of gathering this information is to be made it availa…

---

## [Ds.cut - Numeric value to factor with intervals](https://datashield.discourse.group/t/ds-cut-numeric-value-to-factor-with-intervals/385)

<div class="topic-metadata">

**Author:** [@daniela.zoeller](https://datashield.discourse.group/u/daniela.zoeller)\
**Replies:** 4\
**Last updated:** [29 April 2021 17:14 UTC](https://datashield.discourse.group/t/ds-cut-numeric-value-to-factor-with-intervals/385 "2021-04-29T17:14:10Z")

</div>

Dear all, I want to re-create the functionality of cut() from the base R-package and am thinking about confidentiality. Basically: I want to be able to categorize for example BMI into \<18.5, 18.5-25 and \>25 or age into …

---

## [Virtual Machines on MacOS - Server error 500](https://datashield.discourse.group/t/virtual-machines-on-macos-server-error-500/384)

<div class="topic-metadata">

**Author:** [@daniela.zoeller](https://datashield.discourse.group/u/daniela.zoeller)\
**Replies:** 7\
**Last updated:** [15 April 2021 13:02 UTC](https://datashield.discourse.group/t/virtual-machines-on-macos-server-error-500/384 "2021-04-15T13:02:43Z")

</div>

Dear all, I downloaded the V6.1 machines on my Mac - everything is running, but I cannot analyze the data. I can log in, but when I try to use any function (right now except ds.listServersideFunctions) I got the error …

---

## [How to send 10 messages (using datashield.aggregate) to 10 servers simultaneously?](https://datashield.discourse.group/t/how-to-send-10-messages-using-datashield-aggregate-to-10-servers-simultaneously/367)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 10\
**Last updated:** [17 March 2021 14:53 UTC](https://datashield.discourse.group/t/how-to-send-10-messages-using-datashield-aggregate-to-10-servers-simultaneously/367 "2021-03-17T14:53:43Z")

</div>

Dear all, I have an operation iteratively performed. In each iteration, I need to send 10 vectors to the corresponding 10 servers for updating and then aggregate the results on the client. The following codes were an ex…

---

## [Implementing a ROC function](https://datashield.discourse.group/t/implementing-a-roc-function/357)

<div class="topic-metadata">

**Author:** [@rapus95](https://datashield.discourse.group/u/rapus95)\
**Replies:** 4\
**Last updated:** [28 February 2021 08:17 UTC](https://datashield.discourse.group/t/implementing-a-roc-function/357 "2021-02-28T08:17:29Z")

</div>

I’m currently trying to implement a ROC curve function which is run on the server and sends the pairs of specificity and sensitivity to the client which then plots all curves into the same plot. Client: https://github.c…

---

## [Describing development process of Datashield function](https://datashield.discourse.group/t/describing-development-process-of-datashield-function/363)

<div class="topic-metadata">

**Author:** [@PatRyserWelch](https://datashield.discourse.group/u/PatRyserWelch)\
**Replies:** 2\
**Last updated:** [25 February 2021 10:34 UTC](https://datashield.discourse.group/t/describing-development-process-of-datashield-function/363 "2021-02-25T10:34:15Z")

</div>

Alex and myself will be working in the next couple of months through some description how to create datashield functions (client and server side) for the wiki. We understand our learning curve can be quite immense and w…

---

## [Is.ts function?](https://datashield.discourse.group/t/is-ts-function/320)

<div class="topic-metadata">

**Author:** [@patricia.ryser-welch](https://datashield.discourse.group/u/patricia.ryser-welch)\
**Replies:** 2\
**Last updated:** [24 February 2021 14:11 UTC](https://datashield.discourse.group/t/is-ts-function/320 "2021-02-24T14:11:49Z")

</div>

Hi all, Has anybody seen this function before… I am surmise it either a DSI function or server function. Error in is.ts(x) : argument “x” is missing, with no default Please, let me know. P.

---

## [Bad gateway. Help needed](https://datashield.discourse.group/t/bad-gateway-help-needed/362)

<div class="topic-metadata">

**Author:** [@xescriba](https://datashield.discourse.group/u/xescriba)\
**Replies:** 6\
**Last updated:** [20 February 2021 13:28 UTC](https://datashield.discourse.group/t/bad-gateway-help-needed/362 "2021-02-20T13:28:47Z")

</div>

Hello! I’m getting a bad gateway error that I can’t solve. On the Opal R log I can see that my function is running, however when the return line is interpreted, a 502 error occurs. A reproducible example: require('DSI…

---

## [Opal error : better description for missing functions. please](https://datashield.discourse.group/t/opal-error-better-description-for-missing-functions-please/355)

<div class="topic-metadata">

**Author:** [@patricia.ryser-welch](https://datashield.discourse.group/u/patricia.ryser-welch)\
**Replies:** 0\
**Last updated:** [29 January 2021 16:43 UTC](https://datashield.discourse.group/t/opal-error-better-description-for-missing-functions-please/355 "2021-01-29T16:43:58Z")

</div>

Hi, After 1 hour of trying everything, I have noticed datashield.error was throwing NA. It was was “so clear”. It was my last try to check the opal server had the correct list of functions from the DESCRIPTION file. Wou…

---

## [Working with created environment within Package and Opal Server](https://datashield.discourse.group/t/working-with-created-environment-within-package-and-opal-server/354)

<div class="topic-metadata">

**Author:** [@patricia.ryser-welch](https://datashield.discourse.group/u/patricia.ryser-welch)\
**Replies:** 0\
**Last updated:** [29 January 2021 11:17 UTC](https://datashield.discourse.group/t/working-with-created-environment-within-package-and-opal-server/354 "2021-01-29T11:17:52Z")

</div>

Morning all, What am I trying to achieve? I need to keep some states on the server with some hidden values and hidden environments. It is for some complex computations. Does the server package works on outside the Opal…

---

## [Using Resources in server functions. Can we have some example code please](https://datashield.discourse.group/t/using-resources-in-server-functions-can-we-have-some-example-code-please/333)

<div class="topic-metadata">

**Author:** [@PatRyserWelch](https://datashield.discourse.group/u/PatRyserWelch)\
**Replies:** 4\
**Last updated:** [8 January 2021 14:31 UTC](https://datashield.discourse.group/t/using-resources-in-server-functions-can-we-have-some-example-code-please/333 "2021-01-08T14:31:27Z")

</div>

Hi all, Before resources Datashield server function either uses a data frame store on the server with a given symbol or some server variables. How differently do we need to code our Datashield server functions to accom…

---

## [Send serialized object to DS server](https://datashield.discourse.group/t/send-serialized-object-to-ds-server/330)

<div class="topic-metadata">

**Author:** [@xescriba](https://datashield.discourse.group/u/xescriba)\
**Replies:** 4\
**Last updated:** [11 December 2020 14:49 UTC](https://datashield.discourse.group/t/send-serialized-object-to-ds-server/330 "2020-12-11T14:49:15Z")

</div>

I would like to send to the DS server a serialized R object. I’m trying the following (the questions variable is the object to be serialized): cally \<- paste0("prepare\_dataset\_treeDS(", data, ", ", serialize(questions, …

---

## [vantage6/DS/PHT](https://datashield.discourse.group/t/vantage6-ds-pht/318)

<div class="topic-metadata">

**Author:** [@Hasan51](https://datashield.discourse.group/u/Hasan51)\
**Replies:** 1\
**Last updated:** [7 December 2020 15:47 UTC](https://datashield.discourse.group/t/vantage6-ds-pht/318 "2020-12-07T15:47:15Z")

</div>

@patricia.ryser-welch @Gijs Hi Patricia, I was wondering if you still had any questions about vantage6 functionality and infrastructure? If you still do I am very happy to assist you with them! Best, Hasan

---

## [Is it possible to switch the context "R" and "Datashield"](https://datashield.discourse.group/t/is-it-possible-to-switch-the-context-r-and-datashield/307)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 2\
**Last updated:** [2 December 2020 11:17 UTC](https://datashield.discourse.group/t/is-it-possible-to-switch-the-context-r-and-datashield/307 "2020-12-02T11:17:27Z")

</div>

Hi all One of my developed function worked for opal 2.16 but failed for opal 3.0.5. The error message is \> opal.execute(opal=datasources\[\[3\]\]@opal, "Xs") \> Error: Client error: (400) Bad Request; IllegalArgument: Not a…

---

## [How to check IP of the access on server side？](https://datashield.discourse.group/t/how-to-check-ip-of-the-access-on-server-side/295)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 4\
**Last updated:** [11 November 2020 15:36 UTC](https://datashield.discourse.group/t/how-to-check-ip-of-the-access-on-server-side/295 "2020-11-11T15:36:51Z")

</div>

Dear all, On the server side, we were implementing a function, which can check the IP of the access and return a specific number if the IP was expected? For example, it the IP is the also the server IP, then return the …

---

## [Boxplots in DataSHIELD](https://datashield.discourse.group/t/boxplots-in-datashield/269)

<div class="topic-metadata">

**Author:** [@xescriba](https://datashield.discourse.group/u/xescriba)\
**Replies:** 2\
**Last updated:** [27 August 2020 16:59 UTC](https://datashield.discourse.group/t/boxplots-in-datashield/269 "2020-08-27T16:59:18Z")

</div>

Hi all! I came across a paper by the University of Bristol (https://ijpds.org/article/view/296) in which they discuss graphical functionalities of DataSHIELD. On the paper they mention a new graphical function by the na…

---

## [Capturing the actual error from server - it does not work](https://datashield.discourse.group/t/capturing-the-actual-error-from-server-it-does-not-work/265)

<div class="topic-metadata">

**Author:** [@patricia.ryser-welch](https://datashield.discourse.group/u/patricia.ryser-welch)\
**Replies:** 5\
**Last updated:** [4 August 2020 14:51 UTC](https://datashield.discourse.group/t/capturing-the-actual-error-from-server-it-does-not-work/265 "2020-08-04T14:51:51Z")

</div>

Server-side function: DSI::datashield.aggregate(connection,expression,asynchronous) DANGER\_Error \<- function(){stop(“SERVER::ERR:0001”)} Client-side call: server.call \<- call(‘DANGER\_Error’) print(server.call) DSI::da…

---

## [Coding guidances](https://datashield.discourse.group/t/coding-guidances/253)

<div class="topic-metadata">

**Author:** [@patricia.ryser-welch](https://datashield.discourse.group/u/patricia.ryser-welch)\
**Replies:** 1\
**Last updated:** [13 July 2020 08:02 UTC](https://datashield.discourse.group/t/coding-guidances/253 "2020-07-13T08:02:45Z")

</div>

Hi all, I am writing a grant in collaboration of some other peer DataSHIELD developers. Now we need to give evidences that we have some sort of Coding guidance for the development of client and server function. I have…

---

## [Math calculation in assign method](https://datashield.discourse.group/t/math-calculation-in-assign-method/244)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 2\
**Last updated:** [10 July 2020 20:58 UTC](https://datashield.discourse.group/t/math-calculation-in-assign-method/244 "2020-07-10T20:58:35Z")

</div>

Dear all, 1， is it possible to do matrix calculation in assign method, see below, the X.mat has already defined on server datashield.assign.expr(opals\[\[1\]\], symbol = "xtx.mat", quote(t("X.mat")%\*%"X.mat")) Error in .ap…

---

## [A wired error after a failed call of assign method](https://datashield.discourse.group/t/a-wired-error-after-a-failed-call-of-assign-method/243)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 2\
**Last updated:** [26 June 2020 07:17 UTC](https://datashield.discourse.group/t/a-wired-error-after-a-failed-call-of-assign-method/243 "2020-06-26T07:17:26Z")

</div>

Dear all, Have you met this error: dsListSymbols(opals\[\[2\]\]) Error in curl::curl\_fetch\_memory(url, handle = handle) : Operation was aborted by an application callback This occured when an assign function was stuck…

---

## [How to pass a constant to server in the assign function](https://datashield.discourse.group/t/how-to-pass-a-constant-to-server-in-the-assign-function/241)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 2\
**Last updated:** [25 June 2020 13:44 UTC](https://datashield.discourse.group/t/how-to-pass-a-constant-to-server-in-the-assign-function/241 "2020-06-25T13:44:23Z")

</div>

Dear all, If I want to create a zero vector of length 40 in the server, how should I do? See below errors: datashield.assign.expr(opals\[\[2\]\], "w", quote(repDS("0", "40"))) Error in .appendError(n, e$message) : object '…

---

## [Add methods in dslite.server](https://datashield.discourse.group/t/add-methods-in-dslite-server/240)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 7\
**Last updated:** [23 June 2020 16:21 UTC](https://datashield.discourse.group/t/add-methods-in-dslite-server/240 "2020-06-23T16:21:21Z")

</div>

Dear all, I was developing a function in DSLite. 1, To define a DSLite server, it seems every functions used in server have to be decleared using commands like dslite.server$assignMethod(s). If I want to add all fincti…

---

## [Issues with using opalr for installing specific DataSHIELD release](https://datashield.discourse.group/t/issues-with-using-opalr-for-installing-specific-datashield-release/232)

<div class="topic-metadata">

**Author:** [@stefan.lenz](https://datashield.discourse.group/u/stefan.lenz)\
**Replies:** 12\
**Last updated:** [9 June 2020 09:50 UTC](https://datashield.discourse.group/t/issues-with-using-opalr-for-installing-specific-datashield-release/232 "2020-06-09T09:50:38Z")

</div>

Hi @yannick or possibly other developers of opalr! I have written the following script with the goal to install a specific DataSHIELD version via opalr on the server side. library(opalr) o \<- opal.login('administrator'…

---

## [Ds.cov - Privacy concerns](https://datashield.discourse.group/t/ds-cov-privacy-concerns/198)

<div class="topic-metadata">

**Author:** [@daniela.zoeller](https://datashield.discourse.group/u/daniela.zoeller)\
**Replies:** 2\
**Last updated:** [26 May 2020 14:06 UTC](https://datashield.discourse.group/t/ds-cov-privacy-concerns/198 "2020-05-26T14:06:49Z")

</div>

Dear all, concerning the possibility to calculate a covariance matrix (which I like very much!), I would like to suggest an additional filter. Specifically, I am concerned that if the number of values in the covariance …

---

## [Experience of calculating time differences via DataSHIELD](https://datashield.discourse.group/t/experience-of-calculating-time-differences-via-datashield/203)

<div class="topic-metadata">

**Author:** [@daniela.zoeller](https://datashield.discourse.group/u/daniela.zoeller)\
**Replies:** 2\
**Last updated:** [5 May 2020 07:52 UTC](https://datashield.discourse.group/t/experience-of-calculating-time-differences-via-datashield/203 "2020-05-05T07:52:57Z")

</div>

Hi everyone, is there any experience in calculating the time-to-event data, e.g., the difference in days between the date of event and the date of inclusion and using this as an endpoint? Best wishes, Daniela

---

## [Package dsBaseClient: non-ds.-functions](https://datashield.discourse.group/t/package-dsbaseclient-non-ds-functions/197)

<div class="topic-metadata">

**Author:** [@daniela.zoeller](https://datashield.discourse.group/u/daniela.zoeller)\
**Replies:** 2\
**Last updated:** [8 April 2020 11:02 UTC](https://datashield.discourse.group/t/package-dsbaseclient-non-ds-functions/197 "2020-04-08T11:02:53Z")

</div>

Dear all, I am currently in the development process of the package dsFederatedBoosting and would like to use some of the functions you developed internally for dsBaseClient. For example, I am talking about extract.R, is…

---

## [Server Function: Error handling](https://datashield.discourse.group/t/server-function-error-handling/190)

<div class="topic-metadata">

**Author:** [@patricia.ryser-welch](https://datashield.discourse.group/u/patricia.ryser-welch)\
**Replies:** 5\
**Last updated:** [3 March 2020 14:56 UTC](https://datashield.discourse.group/t/server-function-error-handling/190 "2020-03-03T14:56:01Z")

</div>

Preformatted text@yannick Hi Yannick and developer colleagues, I would like to propose the following and discuss the idea. \*\*Problem to solve: \*\* Currently, server functions (especially assign functions) appear not t…

---

## [Testing framework](https://datashield.discourse.group/t/testing-framework/78)

<div class="topic-metadata">

**Author:** [@PatRyserWelch](https://datashield.discourse.group/u/PatRyserWelch)\
**Replies:** 2\
**Last updated:** [24 February 2020 15:16 UTC](https://datashield.discourse.group/t/testing-framework/78 "2020-02-24T15:16:44Z")

</div>

Hi all, The development of a testing framework using test\_that has made some good progress. We have now define two categories of tests; expected numerical values for combined and split data set as well as mathematical p…

---

## [Integrating the DSI module for other backends](https://datashield.discourse.group/t/integrating-the-dsi-module-for-other-backends/185)

<div class="topic-metadata">

**Author:** [@sidohaakma](https://datashield.discourse.group/u/sidohaakma)\
**Replies:** 4\
**Last updated:** [21 February 2020 16:31 UTC](https://datashield.discourse.group/t/integrating-the-dsi-module-for-other-backends/185 "2020-02-21T16:31:21Z")

</div>

Hi everybody, We are about to implement the DSI module. We stumbled upon a few questions. Is there somekind of conformance document to know which features we need to implement on the backend? Ideally we would like to…

---

## [DSI and R environments for v6.0](https://datashield.discourse.group/t/dsi-and-r-environments-for-v6-0/179)

<div class="topic-metadata">

**Author:** [@tombishop](https://datashield.discourse.group/u/tombishop)\
**Replies:** 18\
**Last updated:** [19 February 2020 21:21 UTC](https://datashield.discourse.group/t/dsi-and-r-environments-for-v6-0/179 "2020-02-19T21:21:29Z")

</div>

Hi, I am trying to fix a problem in DataSHIELD v6.0, which is the release that will use DSI for the first time and hence allows the use of DSLite. If I have understood correctly, DSLite works by having its own environm…

[Previous page](https://datashield.discourse.group/c/support/dev-support/7.md)

[Next page](https://datashield.discourse.group/c/support/dev-support/7.md?page=2)
