# Beginner Support

**URL:** https://datashield.discourse.group/c/support/beginner-support/12.md

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

---

## [What is this space?](https://datashield.discourse.group/t/what-is-this-space/236)

<div class="topic-metadata">

**Author:** [@Datashield-admin](https://datashield.discourse.group/u/Datashield-admin)\
**Replies:** 3\
**Last updated:** [13 April 2021 20:02 UTC](https://datashield.discourse.group/t/what-is-this-space/236 "2021-04-13T20:02:39Z")

</div>

Hi all! Up til now we have simply had the “User support” and “Developer Support” categories, but we would like to give renewed focus to all-new users of DataSHIELD. Any questions about what DataSHIELD can be used for, …

---

## [Plotting lmer results and getting contrasts](https://datashield.discourse.group/t/plotting-lmer-results-and-getting-contrasts/1271)

<div class="topic-metadata">

**Author:** [@JoHugo](https://datashield.discourse.group/u/JoHugo)\
**Replies:** 7\
**Last updated:** [17 September 2025 11:53 UTC](https://datashield.discourse.group/t/plotting-lmer-results-and-getting-contrasts/1271 "2025-09-17T11:53:08Z")

</div>

Dear all, I just started using DataSHIELD. The purpose is to evaluate the possibility to use DataSHIELD in our upcoming medical research. Do do so I am trying to do a linear mixed model analysis. My code looks like thi…

---

## [Opal Demo server: survival](https://datashield.discourse.group/t/opal-demo-server-survival/1329)

<div class="topic-metadata">

**Author:** [@nadja](https://datashield.discourse.group/u/nadja)\
**Replies:** 4\
**Last updated:** [2 September 2025 07:49 UTC](https://datashield.discourse.group/t/opal-demo-server-survival/1329 "2025-09-02T07:49:44Z")

</div>

Dear all, I have a question about the Survival project and profile on the Opal Demo Server (https://opal-demo.obiba.org). I have to initialize the profile daily under Datashield - Profile - Survival - Settings so that a…

---

## [Data Dictionaries](https://datashield.discourse.group/t/data-dictionaries/1123)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 6\
**Last updated:** [13 March 2025 15:14 UTC](https://datashield.discourse.group/t/data-dictionaries/1123 "2025-03-13T15:14:15Z")

</div>

After using the Legacy CSV loader in Opal, we got an error with our data dictionary. Following the suggestions we created a view from the table upload, and imported the data dict. In fact, all the column types were updat…

---

## [obiba/Mica 5.4 Docker Image Seemingly Broken](https://datashield.discourse.group/t/obiba-mica-5-4-docker-image-seemingly-broken/1115)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 2\
**Last updated:** [5 March 2025 09:27 UTC](https://datashield.discourse.group/t/obiba-mica-5-4-docker-image-seemingly-broken/1115 "2025-03-05T09:27:25Z")

</div>

I have tried installing mica from: https://hub.docker.com/r/obiba/mica sudo docker run -d -p 8845:8445 obiba/mica:snapshot Unable to connect to port 8445, I figured something was wrong. The following is a very length…

---

## [How to extend the max session timeout for opalr::opal.login in DataSHIELD](https://datashield.discourse.group/t/how-to-extend-the-max-session-timeout-for-opalr-opal-login-in-datashield/1099)

<div class="topic-metadata">

**Author:** [@apex](https://datashield.discourse.group/u/apex)\
**Replies:** 1\
**Last updated:** [2 October 2024 13:56 UTC](https://datashield.discourse.group/t/how-to-extend-the-max-session-timeout-for-opalr-opal-login-in-datashield/1099 "2024-10-02T13:56:56Z")

</div>

Hello, I’m encountering an issue with the opalr::opal.login function where it consistently times out after 10 seconds. I’m trying to log into an OPAL server using the following code: o \<- opalr::opal.login(input$DREAMT…

---

## [Github package installation error](https://datashield.discourse.group/t/github-package-installation-error/1070)

<div class="topic-metadata">

**Author:** [@SA2296](https://datashield.discourse.group/u/SA2296)\
**Replies:** 3\
**Last updated:** [28 August 2024 13:10 UTC](https://datashield.discourse.group/t/github-package-installation-error/1070 "2024-08-28T13:10:08Z")

</div>

Hi, I am trying to install several DataSHIELD packages from github e.g. dsOmics and dsML using the following command from opalr package: o \<- opal.login(user = "administrator", password = "pwd", url = "https://localhos…

---

## [Patient-level vs. Event-level tables](https://datashield.discourse.group/t/patient-level-vs-event-level-tables/1017)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 1\
**Last updated:** [31 May 2024 08:02 UTC](https://datashield.discourse.group/t/patient-level-vs-event-level-tables/1017 "2024-05-31T08:02:12Z")

</div>

In most use cases DataSHIELD tables are meant to be patient-level, i.e. each row represents one individual. And it is very important for this rule to be respected to ensure not violating the data disclosure mechanisms. d…

---

## [Rserver vs. Rock](https://datashield.discourse.group/t/rserver-vs-rock/962)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 2\
**Last updated:** [8 March 2024 14:14 UTC](https://datashield.discourse.group/t/rserver-vs-rock/962 "2024-03-08T14:14:43Z")

</div>

Hi, I realized that my Opal instance was running with an Rserver on a machine I set-up. In some guides, I have read that you can combine Rservers and Rock in your Server cluster. And I also think I had installed Roc…

---

## [Databases in Opal vs. Armadillo](https://datashield.discourse.group/t/databases-in-opal-vs-armadillo/953)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 1\
**Last updated:** [15 February 2024 20:18 UTC](https://datashield.discourse.group/t/databases-in-opal-vs-armadillo/953 "2024-02-15T20:18:02Z")

</div>

In Opal, we have the choice between integrating with MySQL, MariaDB, PostgreSQL or MongoDB. I have skimmed through the Armadillo documentation and could not find how database integrations work. If I understand correctly…

---

## [How to change Opal admin password from WebUI](https://datashield.discourse.group/t/how-to-change-opal-admin-password-from-webui/895)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 8\
**Last updated:** [31 January 2024 09:33 UTC](https://datashield.discourse.group/t/how-to-change-opal-admin-password-from-webui/895 "2024-01-31T09:33:36Z")

</div>

It’s possible to change the default admin password while setting up Opal, but is it also possible to change it afterwards from the web UI. If not, I suppose enabling 2FA is the next best thing?

---

## [OpalR: Create/Register Database Programmatically](https://datashield.discourse.group/t/opalr-create-register-database-programmatically/889)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 0\
**Last updated:** [8 November 2023 11:18 UTC](https://datashield.discourse.group/t/opalr-create-register-database-programmatically/889 "2023-11-08T11:18:23Z")

</div>

I know that you can list project databases with opal.projects\_databases function - RDocumentation, but I am wondering if it is possible to register a new database programmatically. I wasn’t able to find any comand under…

---

## [Opal: Databases not registering correctly](https://datashield.discourse.group/t/opal-databases-not-registering-correctly/884)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 1\
**Last updated:** [7 November 2023 15:07 UTC](https://datashield.discourse.group/t/opal-databases-not-registering-correctly/884 "2023-11-07T15:07:52Z")

</div>

Hi. I encountered the following on an Opal Linux installation. Errors: the database could not be loaded because of errors. Doing opal.projects\_databases(o) reveals nothing, but I can see that MongoDB is running (s…

---

## [Collaboration for Federated Analysis project in Cardiac Rehabilitation / Cardiovascular disease](https://datashield.discourse.group/t/collaboration-for-federated-analysis-project-in-cardiac-rehabilitation-cardiovascular-disease/873)

<div class="topic-metadata">

**Author:** [@Sol](https://datashield.discourse.group/u/Sol)\
**Replies:** 2\
**Last updated:** [19 October 2023 17:53 UTC](https://datashield.discourse.group/t/collaboration-for-federated-analysis-project-in-cardiac-rehabilitation-cardiovascular-disease/873 "2023-10-19T17:53:49Z")

</div>

Hi everyone, I’m planning a research project where I think using federated analyses would be helpful. The idea is to gather cardiac rehabilitation/ cardiovascular disease data from different institutions/ research group…

---

## [502 Bad Gateway](https://datashield.discourse.group/t/502-bad-gateway/791)

<div class="topic-metadata">

**Author:** [@wilmar.igl](https://datashield.discourse.group/u/wilmar.igl)\
**Replies:** 12\
**Last updated:** [9 June 2023 10:40 UTC](https://datashield.discourse.group/t/502-bad-gateway/791 "2023-06-09T10:40:34Z")

</div>

Hi, when I enter https://srv1.fedana.cloud in the browser, I get the error: “# 502 Bad Gateway — nginx/1.18.0” The server worked fine a several weeks ago, docker processes look fine, nginx works fine, there is plenty of…

---

## [Opal Demo server: PIN code?](https://datashield.discourse.group/t/opal-demo-server-pin-code/795)

<div class="topic-metadata">

**Author:** [@wilmar.igl](https://datashield.discourse.group/u/wilmar.igl)\
**Replies:** 1\
**Last updated:** [2 June 2023 07:38 UTC](https://datashield.discourse.group/t/opal-demo-server-pin-code/795 "2023-06-02T07:38:12Z")

</div>

Hi, I tried loggin in to https://opal-demo.obiba.org server as “administrator” with password “password” as recommended, but then I was asked for a 6 digits PIN code. Why? What is the code? Kr, Wilmar

---

## [Request Entity Too Large](https://datashield.discourse.group/t/request-entity-too-large/793)

<div class="topic-metadata">

**Author:** [@wilmar.igl](https://datashield.discourse.group/u/wilmar.igl)\
**Replies:** 2\
**Last updated:** [2 June 2023 03:49 UTC](https://datashield.discourse.group/t/request-entity-too-large/793 "2023-06-02T03:49:51Z")

</div>

Hi, I am trying to import data (1676488x10) and get this error: \[Client error: (413) Request Entity Too Large\] After I removed non-essential variables, the import progressed till 83% and then I got the error: Error: \[Se…

---

## [How to calculate median and SD?](https://datashield.discourse.group/t/how-to-calculate-median-and-sd/781)

<div class="topic-metadata">

**Author:** [@Vera](https://datashield.discourse.group/u/Vera)\
**Replies:** 1\
**Last updated:** [16 May 2023 17:58 UTC](https://datashield.discourse.group/t/how-to-calculate-median-and-sd/781 "2023-05-16T17:58:51Z")

</div>

How can I calculate median and SD for continuous variables? Is there a function for this in the dsBase package?

---

## [Access to Other Projects' Names, Table Names and any user's tasks](https://datashield.discourse.group/t/access-to-other-projects-names-table-names-and-any-users-tasks/777)

<div class="topic-metadata">

**Author:** [@esalehi](https://datashield.discourse.group/u/esalehi)\
**Replies:** 2\
**Last updated:** [5 May 2023 08:51 UTC](https://datashield.discourse.group/t/access-to-other-projects-names-table-names-and-any-users-tasks/777 "2023-05-05T08:51:49Z")

</div>

Hi there, we are using DataSHIELD for different projects with different users and roles. We found out that when each user (even with the least permission of “View dictionary and values of all tables” inside one project)…

---

## [Writing RDS Files to Arbitrary Locations](https://datashield.discourse.group/t/writing-rds-files-to-arbitrary-locations/778)

<div class="topic-metadata">

**Author:** [@esalehi](https://datashield.discourse.group/u/esalehi)\
**Replies:** 2\
**Last updated:** [5 May 2023 08:31 UTC](https://datashield.discourse.group/t/writing-rds-files-to-arbitrary-locations/778 "2023-05-05T08:31:28Z")

</div>

When a table is fetched using the R function opal.table\_get , the table is first exported to the local file system in the RDS file format and subsequently downloaded to the local R client. The export is triggered via an …

---

## [Opal UI logout does not trigger openID logout (e.g. Keycloak)](https://datashield.discourse.group/t/opal-ui-logout-does-not-trigger-openid-logout-e-g-keycloak/776)

<div class="topic-metadata">

**Author:** [@esalehi](https://datashield.discourse.group/u/esalehi)\
**Replies:** 1\
**Last updated:** [3 May 2023 19:15 UTC](https://datashield.discourse.group/t/opal-ui-logout-does-not-trigger-openid-logout-e-g-keycloak/776 "2023-05-03T19:15:08Z")

</div>

Hi, We are using keycloak as Identity Management tool and we found out that Logging out of the OPAL web application via the menu in the upper-right corner only terminates the OPAL session. While the user is redirected to…

---

## [Model diagnostics on ds.glm](https://datashield.discourse.group/t/model-diagnostics-on-ds-glm/741)

<div class="topic-metadata">

**Author:** [@twey](https://datashield.discourse.group/u/twey)\
**Replies:** 3\
**Last updated:** [14 March 2023 22:24 UTC](https://datashield.discourse.group/t/model-diagnostics-on-ds-glm/741 "2023-03-14T22:24:15Z")

</div>

Hello everyone, I don’t suppose there is an approach for model diagnostics that would normally be done with the residuals? For example, if there were highly influential values in a multiple regression that would be detec…

---

## [Install a DataSHIELD server (\<1hour) \[Tutorial\]](https://datashield.discourse.group/t/install-a-datashield-server-1hour-tutorial/712)

<div class="topic-metadata">

**Author:** [@wilmar.igl](https://datashield.discourse.group/u/wilmar.igl)\
**Replies:** 9\
**Last updated:** [3 March 2023 17:43 UTC](https://datashield.discourse.group/t/install-a-datashield-server-1hour-tutorial/712 "2023-03-03T17:43:31Z")

</div>

Dear all, I have written a tutorial \[1\] on how to install a Federated Analysis server in the cloud using the DataSHIELD software based on Docker technology. I assume that the installation takes less than 1 hour if you …

---

## [opalR database creation](https://datashield.discourse.group/t/opalr-database-creation/727)

<div class="topic-metadata">

**Author:** [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Replies:** 1\
**Last updated:** [1 March 2023 16:31 UTC](https://datashield.discourse.group/t/opalr-database-creation/727 "2023-03-01T16:31:57Z")

</div>

Hi, While following the OpalR Cookbook Tutorial, I found myself stuck on the following part if (opal.project\_exists(o, "dummy")) opal.project\_delete(o, "dummy") opal.project\_create(o, "dummy", database = TRUE) opal…

---

## [Cannot delete database from DataSHIELD](https://datashield.discourse.group/t/cannot-delete-database-from-datashield/718)

<div class="topic-metadata">

**Author:** [@esalehi](https://datashield.discourse.group/u/esalehi)\
**Replies:** 8\
**Last updated:** [28 February 2023 10:14 UTC](https://datashield.discourse.group/t/cannot-delete-database-from-datashield/718 "2023-02-28T10:14:10Z")

</div>

Hello Everyone, I added multiple databases to the DataSHIELD instance of ours for “import” usage, but for one of the databases, the “Unregister” option is missing, although no projects is connected to it (I deleted all …

---

## [DataSHIELD authorization between Project and Database](https://datashield.discourse.group/t/datashield-authorization-between-project-and-database/717)

<div class="topic-metadata">

**Author:** [@esalehi](https://datashield.discourse.group/u/esalehi)\
**Replies:** 1\
**Last updated:** [20 February 2023 15:05 UTC](https://datashield.discourse.group/t/datashield-authorization-between-project-and-database/717 "2023-02-20T15:05:38Z")

</div>

Hello Everyone, we have a DataSHIELD instance where we need to habe multiple separated projects with their databases for data import. For example, Project A (with database A) and Project B (with database B). It means th…

---

## [Description of public use datasets in OPAL demo](https://datashield.discourse.group/t/description-of-public-use-datasets-in-opal-demo/708)

<div class="topic-metadata">

**Author:** [@shinyrhino](https://datashield.discourse.group/u/shinyrhino)\
**Replies:** 1\
**Last updated:** [7 February 2023 12:27 UTC](https://datashield.discourse.group/t/description-of-public-use-datasets-in-opal-demo/708 "2023-02-07T12:27:08Z")

</div>

Dear all, where can I find a description of the public use datasets on the https://opal-demo.obiba.org demo website? I am especially interested in biomedical and clinical datasets. Kr, Shiny

---

## [DataSHIELD command not recognized by Server](https://datashield.discourse.group/t/datashield-command-not-recognized-by-server/696)

<div class="topic-metadata">

**Author:** [@shinyrhino](https://datashield.discourse.group/u/shinyrhino)\
**Replies:** 2\
**Last updated:** [4 February 2023 00:03 UTC](https://datashield.discourse.group/t/datashield-command-not-recognized-by-server/696 "2023-02-04T00:03:24Z")

</div>

Hi, why does DataSHIELD not recognize the command ds.dim(x = ‘DST’, datasources = connections) Kr, Shiny library(DSI) library(DSOpal) library(dsBaseClient) builder ← DSI::newDSLoginBuilder() builder$append(server=“…

---

## [ID Database ConnectionException](https://datashield.discourse.group/t/id-database-connectionexception/691)

<div class="topic-metadata">

**Author:** [@shinyrhino](https://datashield.discourse.group/u/shinyrhino)\
**Replies:** 3\
**Last updated:** [2 February 2023 09:27 UTC](https://datashield.discourse.group/t/id-database-connectionexception/691 "2023-02-02T09:27:07Z")

</div>

Hi, I am running DataSHIELD in a docker container using the Doc template \[¹\]. Currently I get this error on the Dashboard: No identifiers database is defined. No identifiers mapping can be performed when importing or …

---

## [Installation of R/dsBase package via OPAL admin GUI failed](https://datashield.discourse.group/t/installation-of-r-dsbase-package-via-opal-admin-gui-failed/692)

<div class="topic-metadata">

**Author:** [@shinyrhino](https://datashield.discourse.group/u/shinyrhino)\
**Replies:** 7\
**Last updated:** [2 February 2023 08:45 UTC](https://datashield.discourse.group/t/installation-of-r-dsbase-package-via-opal-admin-gui-failed/692 "2023-02-02T08:45:55Z")

</div>

Hi, I tried to install R/dsBase package via OPAL/admin but got this error: POST /service/r/cluster/default/packages?name=dsBase&manager=cran : Gateway Time-out (504): 504 Gateway Time-out nginx/1.18.0 Installation …

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