# Analyst Support

**URL:** https://datashield.discourse.group/c/support/user-support/6.md

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

---

## [About the Analyst Support category](https://datashield.discourse.group/t/about-the-analyst-support-category/13)

<div class="topic-metadata">

**Author:** [@becca.wilson](https://datashield.discourse.group/u/becca.wilson)\
**Replies:** 0

</div>

This area is for DataSHIELD user support requests. Please post your query and someone in the community will give you assistance. If the support request is not possible via the forum you will be advised to contact the Dat…

---

## [Undocumented error cannot coerce 'function' to a data.frame](https://datashield.discourse.group/t/undocumented-error-cannot-coerce-function-to-a-data-frame/1382)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 2\
**Last updated:** [7 November 2025 11:12 UTC](https://datashield.discourse.group/t/undocumented-error-cannot-coerce-function-to-a-data-frame/1382 "2025-11-07T11:12:59Z")

</div>

Hello $datashield.assign.table(…) $datashield.errors as.data.frame.default(x, stringsAsFactors = FALSE) : \\n cannot coerce class ‘“function”’ to a data.frame\\n" I wanted to log this, this function/data.frame error oc…

---

## [Opal 5 - How to Add/Update Dictionaries for Tables and Views](https://datashield.discourse.group/t/opal-5-how-to-add-update-dictionaries-for-tables-and-views/1218)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 3\
**Last updated:** [27 June 2025 13:57 UTC](https://datashield.discourse.group/t/opal-5-how-to-add-update-dictionaries-for-tables-and-views/1218 "2025-06-27T13:57:56Z")

</div>

Opal 5 question for @yannick, has the Add/update variables from dictionary... button moved? This is how it was in Opal 4, under + Add Variables. In Opal 5, + does not come with the same options: Thanks in advan…

---

## [Datashield package list](https://datashield.discourse.group/t/datashield-package-list/1223)

<div class="topic-metadata">

**Author:** [@gospelON](https://datashield.discourse.group/u/gospelON)\
**Replies:** 4\
**Last updated:** [28 March 2025 14:10 UTC](https://datashield.discourse.group/t/datashield-package-list/1223 "2025-03-28T14:10:56Z")

</div>

Hello, Please am trying make comprehensive list of Datashield packages and functions that are currently available so as to begin analysis or organise a team of Developers to implement missing packages that we need for o…

---

## [Error while evaluating resource on client side](https://datashield.discourse.group/t/error-while-evaluating-resource-on-client-side/450)

<div class="topic-metadata">

**Author:** [@sztop](https://datashield.discourse.group/u/sztop)\
**Replies:** 10\
**Last updated:** [13 March 2025 12:45 UTC](https://datashield.discourse.group/t/error-while-evaluating-resource-on-client-side/450 "2025-03-13T12:45:02Z")

</div>

Hello, we try to work around the problem discussed in How to pass models between data scientists and nodes. We saved our model as model.RData and model.rds files, then we assigned them as resources in our project as R …

---

## [dsSurvival Documentation - Alternative Dataset sources/Servers](https://datashield.discourse.group/t/dssurvival-documentation-alternative-dataset-sources-servers/1072)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 6\
**Last updated:** [8 October 2024 17:43 UTC](https://datashield.discourse.group/t/dssurvival-documentation-alternative-dataset-sources-servers/1072 "2024-10-08T17:43:35Z")

</div>

dsSurvival is a DataSHIELD package for privacy preserving survival models in DataSHIELD. There is a well documented tutorial on dsSurvival: Privacy preserving survival models in DataSHIELD, but the servers used in this …

---

## [Representing Treatments in DataSHIELD](https://datashield.discourse.group/t/representing-treatments-in-datashield/1103)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 0\
**Last updated:** [7 October 2024 13:16 UTC](https://datashield.discourse.group/t/representing-treatments-in-datashield/1103 "2024-10-07T13:16:55Z")

</div>

I would like to ask about Entities? https://opaldoc.obiba.org/en/latest/variables-data.html#entities By default, tables in DataSHIELD represent 'Participant’s. So each row is an individual, with some medical record. And…

---

## [CSV (R) Importer Missing on Opal Machine](https://datashield.discourse.group/t/csv-r-importer-missing-on-opal-machine/1097)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 1\
**Last updated:** [2 October 2024 09:01 UTC](https://datashield.discourse.group/t/csv-r-importer-missing-on-opal-machine/1097 "2024-10-02T09:01:08Z")

</div>

Hi! I was working with a colleague recently on importing data into DataSHIELD. On the Web Client for their (opal) machine there were two options for CSV files: CSV & CSV (R). If I understand correct, CSV (R) is a ‘read…

---

## [Case\_when equivalent in DataSHIELD](https://datashield.discourse.group/t/case-when-equivalent-in-datashield/1005)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 4\
**Last updated:** [29 August 2024 13:46 UTC](https://datashield.discourse.group/t/case-when-equivalent-in-datashield/1005 "2024-08-29T13:46:17Z")

</div>

Hi! I was wondering if there was a case\_when equivalent in DataSHIELD. dsSwissKnife or similar packages are also fine, if not in dsBase. Cheers.

---

## [Large data uploading issue](https://datashield.discourse.group/t/large-data-uploading-issue/287)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 3\
**Last updated:** [26 August 2024 10:21 UTC](https://datashield.discourse.group/t/large-data-uploading-issue/287 "2024-08-26T10:21:43Z")

</div>

Dear all, We meet the following error when uploading a 30 megabyte file to a remote server (opal 3.0.3). However, this file can be uploaded into the VM (opal 2.1.6) without problem. So I thought it was the configuration…

---

## [Date to numeric conversion in datashield](https://datashield.discourse.group/t/date-to-numeric-conversion-in-datashield/978)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 3\
**Last updated:** [18 March 2024 11:45 UTC](https://datashield.discourse.group/t/date-to-numeric-conversion-in-datashield/978 "2024-03-18T11:45:15Z")

</div>

Let’s imagine a clinic keeping track of their patients’ DoB and first visits. Birth Visit 1959-11-22 2021-06-12 1961-01-07 2021-06-25 1992-06-19 2018-12-26 In DataSHIELD, we would like to pool ages of dia…

---

## [Tables vs. Resources on DSLite](https://datashield.discourse.group/t/tables-vs-resources-on-dslite/981)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 0\
**Last updated:** [14 March 2024 12:26 UTC](https://datashield.discourse.group/t/tables-vs-resources-on-dslite/981 "2024-03-14T12:26:00Z")

</div>

I was playing with DSLite today when I noticed that the newDSLiteServer can take both tables and resources. tables A named list of data.frames representing the harmonized tables. resources A named list of resou…

---

## [Cannot add table to Project on opal](https://datashield.discourse.group/t/cannot-add-table-to-project-on-opal/309)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 6\
**Last updated:** [7 November 2023 15:08 UTC](https://datashield.discourse.group/t/cannot-add-table-to-project-on-opal/309 "2023-11-07T15:08:48Z")

</div>

Dear all We found one of our servers can not allow the data import. See below I checked the database, they are registered, see below Does anyone meet the same issue? Regards, Hank

---

## [synDS not in the server used in the tutorial for dsSynthetic?](https://datashield.discourse.group/t/synds-not-in-the-server-used-in-the-tutorial-for-dssynthetic/856)

<div class="topic-metadata">

**Author:** [@bodilSbld](https://datashield.discourse.group/u/bodilSbld)\
**Replies:** 3\
**Last updated:** [4 October 2023 13:33 UTC](https://datashield.discourse.group/t/synds-not-in-the-server-used-in-the-tutorial-for-dssynthetic/856 "2023-10-04T13:33:02Z")

</div>

Dear all, I’m interested in trying out dsSynthetic following the tutorial (dsSynthetic: A DataSHIELD package to generate synthetic data). The connection to the sandbox server works fine, but when I try ds.syn I recieve …

---

## [Plot regression line with confidence intervals](https://datashield.discourse.group/t/plot-regression-line-with-confidence-intervals/845)

<div class="topic-metadata">

**Author:** [@twey](https://datashield.discourse.group/u/twey)\
**Replies:** 3\
**Last updated:** [28 September 2023 16:07 UTC](https://datashield.discourse.group/t/plot-regression-line-with-confidence-intervals/845 "2023-09-28T16:07:00Z")

</div>

Apologies if this is covered elsewhere, but is there a way to plot confidence intervals around a regression line from the output of ‘ds.glm’ or ‘ds.glmSLMA’? I get the sense that a ‘newobj’ created on the server side fro…

---

## [Changing reference level of variable not reflected in ds.glm result](https://datashield.discourse.group/t/changing-reference-level-of-variable-not-reflected-in-ds-glm-result/852)

<div class="topic-metadata">

**Author:** [@twey](https://datashield.discourse.group/u/twey)\
**Replies:** 2\
**Last updated:** [27 September 2023 20:26 UTC](https://datashield.discourse.group/t/changing-reference-level-of-variable-not-reflected-in-ds-glm-result/852 "2023-09-27T20:26:43Z")

</div>

I am trying to change the reference levels of a categorical variable to get the coefficients of a glm for the “0” group (which was the reference in the original variable). I changed the reference level of a variable with…

---

## [Troubleshooting Connectivity Issues in DataSHIELD Analysis](https://datashield.discourse.group/t/troubleshooting-connectivity-issues-in-datashield-analysis/823)

<div class="topic-metadata">

**Author:** [@sofiasiamp](https://datashield.discourse.group/u/sofiasiamp)\
**Replies:** 5\
**Last updated:** [15 August 2023 10:57 UTC](https://datashield.discourse.group/t/troubleshooting-connectivity-issues-in-datashield-analysis/823 "2023-08-15T10:57:44Z")

</div>

Dear all, We have been running DataSHIELD analysis on 8 studies for some time now with no significant issues. However, the last couple of weeks we started experiencing connectivity issues, where certain studies would ta…

---

## [Error in ds.unique](https://datashield.discourse.group/t/error-in-ds-unique/814)

<div class="topic-metadata">

**Author:** [@InesAmine](https://datashield.discourse.group/u/InesAmine)\
**Replies:** 2\
**Last updated:** [7 July 2023 11:14 UTC](https://datashield.discourse.group/t/error-in-ds-unique/814 "2023-07-07T11:14:20Z")

</div>

Dear all, I am using ds.unique for the first time but immediately got an error. My aim was to see if there was any duplicated children in my dataset using their ID. ds.unique("outcome$child\_id",newobj="unique\_id",datas…

---

## [Error running ds.glmSummary](https://datashield.discourse.group/t/error-running-ds-glmsummary/743)

<div class="topic-metadata">

**Author:** [@twey](https://datashield.discourse.group/u/twey)\
**Replies:** 4\
**Last updated:** [29 March 2023 20:08 UTC](https://datashield.discourse.group/t/error-running-ds-glmsummary/743 "2023-03-29T20:08:59Z")

</div>

Hello all, When I run ds.glmSummary on a successfully created model object (with either ds.glm or ds.glm SLMA), I get the message: Aggregated (exists(“test.glm”)) \[======================================================…

---

## [OpalR: Debugging Table Import Fails](https://datashield.discourse.group/t/opalr-debugging-table-import-fails/737)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 3\
**Last updated:** [9 March 2023 14:21 UTC](https://datashield.discourse.group/t/opalr-debugging-table-import-fails/737 "2023-03-09T14:21:29Z")

</div>

We are having some trouble with opal.table\_import from opalr. \> opal.table\_import(o, paste0("/projects/Test\_Project/",fileSavePath), project='Test\_Project', table…

---

## [Adding Aggregate methods - dsSynthetic](https://datashield.discourse.group/t/adding-aggregate-methods-dssynthetic/710)

<div class="topic-metadata">

**Author:** [@InesAmine](https://datashield.discourse.group/u/InesAmine)\
**Replies:** 1\
**Last updated:** [10 February 2023 10:10 UTC](https://datashield.discourse.group/t/adding-aggregate-methods-dssynthetic/710 "2023-02-10T10:10:48Z")

</div>

Hi all I was interested in using the package dsSynthetics, with the function ds.syn(). When I try it on the data used in the Vignette it works properly. ( vignette ). Then, I tried using the same code on the Ninfea ita…

---

## [NAs get switched for first category when working with multiple connections that don't have NAs](https://datashield.discourse.group/t/nas-get-switched-for-first-category-when-working-with-multiple-connections-that-dont-have-nas/709)

<div class="topic-metadata">

**Author:** [@c.schwedhelm](https://datashield.discourse.group/u/c.schwedhelm)\
**Replies:** 2\
**Last updated:** [9 February 2023 15:02 UTC](https://datashield.discourse.group/t/nas-get-switched-for-first-category-when-working-with-multiple-connections-that-dont-have-nas/709 "2023-02-09T15:02:47Z")

</div>

Hi, I am running analyses on multiple studies and am particularly interested in BMI, for which I created both a categorical variable and dummy variables (for normal, overweight and obesity). We have missings (NA) in only…

---

## [Studyside.message error when using ds.merge](https://datashield.discourse.group/t/studyside-message-error-when-using-ds-merge/665)

<div class="topic-metadata">

**Author:** [@SophieBlaauwendraad](https://datashield.discourse.group/u/SophieBlaauwendraad)\
**Replies:** 2\
**Last updated:** [3 December 2022 07:34 UTC](https://datashield.discourse.group/t/studyside-message-error-when-using-ds-merge/665 "2022-12-03T07:34:01Z")

</div>

Hi all. When I’m trying to merge the outcome tables from the same dataset to the core data (after seperately changing them in wide format), I get the error "$validity.check \[1\] " invalid in at least one source. See study…

---

## [Kaplan-Meier curve implementation](https://datashield.discourse.group/t/kaplan-meier-curve-implementation/615)

<div class="topic-metadata">

**Author:** [@jch](https://datashield.discourse.group/u/jch)\
**Replies:** 3\
**Last updated:** [3 October 2022 14:10 UTC](https://datashield.discourse.group/t/kaplan-meier-curve-implementation/615 "2022-10-03T14:10:11Z")

</div>

Is this implementation already there? Is it planned soon? Are there any 3rd party implementations that you recommend? What do you suggest as an aggregation method in case of writing a custom function?

---

## [Register to R Server to R cluster](https://datashield.discourse.group/t/register-to-r-server-to-r-cluster/599)

<div class="topic-metadata">

**Author:** [@wilmar.igl](https://datashield.discourse.group/u/wilmar.igl)\
**Replies:** 7\
**Last updated:** [18 August 2022 11:10 UTC](https://datashield.discourse.group/t/register-to-r-server-to-r-cluster/599 "2022-08-18T11:10:19Z")

</div>

Hi, I have setup an OPAL server at https://stats-con.com and have register an R/ROCK server at the same address. I can run some FedAna analysis on this single server. I have now installed a second server https://srv2.sta…

---

## [Using operators like ":", "\>=",... with ds.make function](https://datashield.discourse.group/t/using-operators-like-with-ds-make-function/604)

<div class="topic-metadata">

**Author:** [@sbuchka](https://datashield.discourse.group/u/sbuchka)\
**Replies:** 1\
**Last updated:** [17 August 2022 11:17 UTC](https://datashield.discourse.group/t/using-operators-like-with-ds-make-function/604 "2022-08-17T11:17:14Z")

</div>

Hey all, I am currently carrying out analyses with dataSHIELD. I planned the script using DSLite. But If I want to run the code on the real Opal Server, I get problems with operators like “:”, “\<=”,… using the ds.make f…

---

## [dataShield and GDPR](https://datashield.discourse.group/t/datashield-and-gdpr/211)

<div class="topic-metadata">

**Author:** [@Gijs](https://datashield.discourse.group/u/Gijs)\
**Replies:** 3\
**Last updated:** [9 August 2022 14:06 UTC](https://datashield.discourse.group/t/datashield-and-gdpr/211 "2022-08-09T14:06:10Z")

</div>

Hi dataSHIELD community, I wonder if any work has been conducted regarding dataSHIELD and the GDPR. More concretely, has any work been done to demonstrate/argue that the dataSHIELD client portal does not handle any per…

---

## [Client side COUNT with matching conditions](https://datashield.discourse.group/t/client-side-count-with-matching-conditions/585)

<div class="topic-metadata">

**Author:** [@jch](https://datashield.discourse.group/u/jch)\
**Replies:** 2\
**Last updated:** [14 July 2022 14:40 UTC](https://datashield.discourse.group/t/client-side-count-with-matching-conditions/585 "2022-07-14T14:40:01Z")

</div>

I’d like to count values from all the nodes using filtering expression for instance if !column1.NA and column2==1 than 1 else 0 I cannot find the DS function to do that (aggregated sum of COUNTs from all the nodes).

---

## [Is it possible to add “base::is.na” function in assign methods?](https://datashield.discourse.group/t/is-it-possible-to-add-base-is-na-function-in-assign-methods/584)

<div class="topic-metadata">

**Author:** [@jch](https://datashield.discourse.group/u/jch)\
**Replies:** 1\
**Last updated:** [14 July 2022 14:33 UTC](https://datashield.discourse.group/t/is-it-possible-to-add-base-is-na-function-in-assign-methods/584 "2022-07-14T14:33:01Z")

</div>

If not what would you suggest as a workaround?

---

## [R fatal error when running ds.forestplot](https://datashield.discourse.group/t/r-fatal-error-when-running-ds-forestplot/557)

<div class="topic-metadata">

**Author:** [@c.schwedhelm](https://datashield.discourse.group/u/c.schwedhelm)\
**Replies:** 4\
**Last updated:** [13 May 2022 09:31 UTC](https://datashield.discourse.group/t/r-fatal-error-when-running-ds-forestplot/557 "2022-05-13T09:31:28Z")

</div>

R session keeps aborting when running ds.forestplot (DataSHIELD v.6.2.0). I tried keeping the model as simple as possible and restarting R and cleaning the environment, and I did manage to produce a figure once. But o…

[Next page](https://datashield.discourse.group/c/support/user-support/6.md?page=1)
