# Analyst Support

**URL:** https://datashield.discourse.group/c/support/user-support/6.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

---

## [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…

---

## [OPAL server connection loss requires Docker restart](https://datashield.discourse.group/t/opal-server-connection-loss-requires-docker-restart/533)

<div class="topic-metadata">

**Author:** [@SRingshandl](https://datashield.discourse.group/u/SRingshandl)\
**Replies:** 2\
**Last updated:** [30 March 2022 15:44 UTC](https://datashield.discourse.group/t/opal-server-connection-loss-requires-docker-restart/533 "2022-03-30T15:44:25Z")

</div>

Hello everybody! Our group has written some analysis scripts that are currently running on 5 locations within the MIRACUM consortium and an ongoing difficulty that we face is some kind of disconnect between locations. T…

---

## [SSL certificate update for https connection](https://datashield.discourse.group/t/ssl-certificate-update-for-https-connection/483)

<div class="topic-metadata">

**Author:** [@sztop](https://datashield.discourse.group/u/sztop)\
**Replies:** 1\
**Last updated:** [7 December 2021 11:16 UTC](https://datashield.discourse.group/t/ssl-certificate-update-for-https-connection/483 "2021-12-07T11:16:49Z")

</div>

Hello, I have a Datashield instance in the docker container and I am trying to connect to opal using https as follows:o \<- opal.login("administrator", "password", url="https://datashield-opal:8443" I got an error messag…

---

## [Newcomers workshop November](https://datashield.discourse.group/t/newcomers-workshop-november/476)

<div class="topic-metadata">

**Author:** [@alexwesterberg](https://datashield.discourse.group/u/alexwesterberg)\
**Replies:** 0\
**Last updated:** [19 November 2021 10:14 UTC](https://datashield.discourse.group/t/newcomers-workshop-november/476 "2021-11-19T10:14:31Z")

</div>

Hi guys, there is a workshop for beginners/ newcomers/ first-timers to DataSHIELD next week on Monday 22nd Nov, 10.30-13.00. The first 1h15 will be demonstration, and the following 1h15 will be an open session where yo…

---

## [WARNING: useNA='ifany' argument in ds.table function might create incorrect results](https://datashield.discourse.group/t/warning-usena-ifany-argument-in-ds-table-function-might-create-incorrect-results/457)

<div class="topic-metadata">

**Author:** [@demetris.avraam](https://datashield.discourse.group/u/demetris.avraam)\
**Replies:** 0\
**Last updated:** [30 September 2021 09:14 UTC](https://datashield.discourse.group/t/warning-usena-ifany-argument-in-ds-table-function-might-create-incorrect-results/457 "2021-09-30T09:14:11Z")

</div>

Hi everyone, I would like to notify you for an issue with the useNA argument in the ds.table function. This argument is set by default to useNA=‘ifany’ and depending on the number of missings the input variable has in t…

---

## [Long runs stop with error: Waiting](https://datashield.discourse.group/t/long-runs-stop-with-error-waiting/449)

<div class="topic-metadata">

**Author:** [@SRingshandl](https://datashield.discourse.group/u/SRingshandl)\
**Replies:** 3\
**Last updated:** [20 September 2021 15:41 UTC](https://datashield.discourse.group/t/long-runs-stop-with-error-waiting/449 "2021-09-20T15:41:13Z")

</div>

Hello everybody! our group recently encountered an issue while performing a big number of sequential DataSHIELD commands. Our programs would usually run for around 1.5 hours but are occasionally stopped at random points…

---

## [How to pass models between data scientists and nodes (hospitals)?](https://datashield.discourse.group/t/how-to-pass-models-between-data-scientists-and-nodes-hospitals/440)

<div class="topic-metadata">

**Author:** [@jch](https://datashield.discourse.group/u/jch)\
**Replies:** 9\
**Last updated:** [20 September 2021 10:09 UTC](https://datashield.discourse.group/t/how-to-pass-models-between-data-scientists-and-nodes-hospitals/440 "2021-09-20T10:09:25Z")

</div>

We try to implement federated learning using DataSHIELD. We were able to implement model training on the nodes, it is working fine. Then the model of each node is returned as a result of the DataSHIELD function to the …

---

## [Changing factor levels](https://datashield.discourse.group/t/changing-factor-levels/428)

<div class="topic-metadata">

**Author:** [@asm](https://datashield.discourse.group/u/asm)\
**Replies:** 3\
**Last updated:** [31 July 2021 12:11 UTC](https://datashield.discourse.group/t/changing-factor-levels/428 "2021-07-31T12:11:58Z")

</div>

Hello, I’m trying to recode factors. I have been successful in changing variables from 0/1 to 1/2, for example, but when I try an alphanumeric name (e.g. “no” / “yes”) using ds.recodeValues I get the following warning: …

---

## [Changing Variable Data Types](https://datashield.discourse.group/t/changing-variable-data-types/421)

<div class="topic-metadata">

**Author:** [@sbellamy](https://datashield.discourse.group/u/sbellamy)\
**Replies:** 1\
**Last updated:** [14 July 2021 17:30 UTC](https://datashield.discourse.group/t/changing-variable-data-types/421 "2021-07-14T17:30:00Z")

</div>

Hello, When I imported my data csv file all of the variables are set to “text” instead of ie. decimal. I attached a screenshot below for the age variable. How do I fix this?

---

## [Creating dummy variables](https://datashield.discourse.group/t/creating-dummy-variables/396)

<div class="topic-metadata">

**Author:** [@tombishop](https://datashield.discourse.group/u/tombishop)\
**Replies:** 5\
**Last updated:** [19 May 2021 08:56 UTC](https://datashield.discourse.group/t/creating-dummy-variables/396 "2021-05-19T08:56:25Z")

</div>

Hi, I am a bit rusty on some of the new DataSHIELD functionality. What is the best method to convert a factor variable (i.e. categorical with multiple levels) into dummy binary variables? I can see there is probably a l…

---

## [An error using resourcer](https://datashield.discourse.group/t/an-error-using-resourcer/375)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 3\
**Last updated:** [6 April 2021 20:41 UTC](https://datashield.discourse.group/t/an-error-using-resourcer/375 "2021-04-06T20:41:24Z")

</div>

Hi, I successfully loaded rda data using resourcer from opal on the virtual machine. When it came to the real server (using the same setting), the following errors appeared. \> datashield.assign.resource(datasources\[3\],…

---

## [Error when adding "rds" data as the resource](https://datashield.discourse.group/t/error-when-adding-rds-data-as-the-resource/366)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 5\
**Last updated:** [2 March 2021 14:33 UTC](https://datashield.discourse.group/t/error-when-adding-rds-data-as-the-resource/366 "2021-03-02T14:33:49Z")

</div>

Hi all, I have uploaded an rds file into opal and added links to the resource. From the client, the data can be accessed but the format can not be transformed. \> builder \<- DSI::newDSLoginBuilder() \> builder$append(…

---

## [Errors when adding "matrix" format R file using resource](https://datashield.discourse.group/t/errors-when-adding-matrix-format-r-file-using-resource/365)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 2\
**Last updated:** [2 March 2021 13:01 UTC](https://datashield.discourse.group/t/errors-when-adding-matrix-format-r-file-using-resource/365 "2021-03-02T13:01:03Z")

</div>

Hi all, I uploaded a “rData” data into opal and then add this as the resource, see below However, the error occupied during the data format transformation \> builder \<- DSI::newDSLoginBuilder() \> builder$append(serve…

---

## [Error when assigning table](https://datashield.discourse.group/t/error-when-assigning-table/310)

<div class="topic-metadata">

**Author:** [@daniela.zoeller](https://datashield.discourse.group/u/daniela.zoeller)\
**Replies:** 8\
**Last updated:** [3 December 2020 15:04 UTC](https://datashield.discourse.group/t/error-when-assigning-table/310 "2020-12-03T15:04:00Z")

</div>

Dear all, wenn I want to assign the complete table (#connections \<- DSI::datashield.login(logins = logindata, assign = TRUE)), I get the following error: Error in names(x) \<- value : ‘names’ attribute \[6\] must be the s…

---

## [How to avoid the automatic sorting of the rows of table in opal](https://datashield.discourse.group/t/how-to-avoid-the-automatic-sorting-of-the-rows-of-table-in-opal/306)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 5\
**Last updated:** [26 November 2020 15:39 UTC](https://datashield.discourse.group/t/how-to-avoid-the-automatic-sorting-of-the-rows-of-table-in-opal/306 "2020-11-26T15:39:09Z")

</div>

Dear all, It seems that the rows of the imported table on the server were automatically sorted according to the rownames. See below, the original rownames should be Var1, Var2…Var300. However it was sorted by opal. …

---

## [Fail to login opal server: untrusted authority](https://datashield.discourse.group/t/fail-to-login-opal-server-untrusted-authority/282)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 5\
**Last updated:** [12 November 2020 10:34 UTC](https://datashield.discourse.group/t/fail-to-login-opal-server-untrusted-authority/282 "2020-11-12T10:34:05Z")

</div>

Dear all, One of our server successfully installed opal, and we can manage the data via the webbrowser. However, when it come to the R codes, we can not login. See errors below: library("opalr") \> o2=opal.login(url = "…

---

## [Configuration of R server](https://datashield.discourse.group/t/configuration-of-r-server/289)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 2\
**Last updated:** [4 November 2020 11:21 UTC](https://datashield.discourse.group/t/configuration-of-r-server/289 "2020-11-04T11:21:16Z")

</div>

Dear all, I recently reinstalled opal 3.0.3 and R 4. After login, I found the connection between opal and R failed. See below: What should I try?

---

## [Projects Status: "Loading: the database is being loaded, tables operations are not accessible yet"](https://datashield.discourse.group/t/projects-status-loading-the-database-is-being-loaded-tables-operations-are-not-accessible-yet/286)

<div class="topic-metadata">

**Author:** [@KalvinCheung](https://datashield.discourse.group/u/KalvinCheung)\
**Replies:** 2\
**Last updated:** [27 October 2020 20:32 UTC](https://datashield.discourse.group/t/projects-status-loading-the-database-is-being-loaded-tables-operations-are-not-accessible-yet/286 "2020-10-27T20:32:03Z")

</div>

Dear all, Projects status (red dot) always show “Loading: the database is being loaded, tables operations are not accessible yet”. I created the project, imported the data and everything worked fine. Then due to some r…

---

## [dsBase can not be installed on opal server](https://datashield.discourse.group/t/dsbase-can-not-be-installed-on-opal-server/281)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 19\
**Last updated:** [22 October 2020 07:23 UTC](https://datashield.discourse.group/t/dsbase-can-not-be-installed-on-opal-server/281 "2020-10-22T07:23:38Z")

</div>

Dear all, One of our server has successfully installed opal, but we found the dsBase is not the default installed package. Thus, we try to install it ourself with opalr, but can not success. See below: \> opal=opal.log…

---

## [Question wrt assigning data from Opal server (dsBase 6.0.1)](https://datashield.discourse.group/t/question-wrt-assigning-data-from-opal-server-dsbase-6-0-1/273)

<div class="topic-metadata">

**Author:** [@Elaine.Smith](https://datashield.discourse.group/u/Elaine.Smith)\
**Replies:** 3\
**Last updated:** [10 September 2020 09:55 UTC](https://datashield.discourse.group/t/question-wrt-assigning-data-from-opal-server-dsbase-6-0-1/273 "2020-09-10T09:55:20Z")

</div>

Dear dataSHIELD team, I have a question that I hope you can help me with. We have just upgraded from dsBase 5.0.0 to dsBase 6.0.1 on our Opal server and I have some problems assigning data in dataSHIELD version 6.0.1. …

---

## [Unexpected R server error?](https://datashield.discourse.group/t/unexpected-r-server-error/264)

<div class="topic-metadata">

**Author:** [@jack.lyons](https://datashield.discourse.group/u/jack.lyons)\
**Replies:** 11\
**Last updated:** [4 August 2020 14:47 UTC](https://datashield.discourse.group/t/unexpected-r-server-error/264 "2020-08-04T14:47:40Z")

</div>

I’ve got a odd error message when I tried to execute ds.assign(toAssign = 'D$TOTAL\_8AM\*5', newobj="var1"): Command 'D$TOTAL\_8AM\*5' failed on 'SERVER.A': Unexpected R server error: eval failed, request status: R parser: …

---

## [Recoding NAs in a factor variable](https://datashield.discourse.group/t/recoding-nas-in-a-factor-variable/270)

<div class="topic-metadata">

**Author:** [@Angela](https://datashield.discourse.group/u/Angela)\
**Replies:** 1\
**Last updated:** [31 August 2020 08:39 UTC](https://datashield.discourse.group/t/recoding-nas-in-a-factor-variable/270 "2020-08-31T08:39:16Z")

</div>

Hello, I am trying to replace NAs in a factor variable by 999. I have tried using both ds.recodeValues and ds.replaceNA to do this, but haven’t been successful with either. Please could somebody advise me where I’m goin…

---

## [DataSHIELD analysis with relational database](https://datashield.discourse.group/t/datashield-analysis-with-relational-database/262)

<div class="topic-metadata">

**Author:** [@tanjascats](https://datashield.discourse.group/u/tanjascats)\
**Replies:** 8\
**Last updated:** [10 August 2020 09:54 UTC](https://datashield.discourse.group/t/datashield-analysis-with-relational-database/262 "2020-08-10T09:54:30Z")

</div>

Hello, I am dealing with a specific use case for analysis with DataSHIELD where we work with data from a relational database. Namely, the following example depicts the situation: there are (at least) two tables in the d…

---

## [An error when joining tables using ds.merge](https://datashield.discourse.group/t/an-error-when-joining-tables-using-ds-merge/266)

<div class="topic-metadata">

**Author:** [@tanjascats](https://datashield.discourse.group/u/tanjascats)\
**Replies:** 1\
**Last updated:** [5 August 2020 18:35 UTC](https://datashield.discourse.group/t/an-error-when-joining-tables-using-ds-merge/266 "2020-08-05T18:35:33Z")

</div>

Hello, while running the example code for ds.merge from your documentation, I encounter the following error: datashield.errors() $study1 \[1\] “Command ‘mergeDS("df.x", "df.y", "D$LAB\_TSC", "D$LAB\_TSC", TRUE, TRUE, \\n …

---

## [Using specific (conda) environment when running functions on the server-side](https://datashield.discourse.group/t/using-specific-conda-environment-when-running-functions-on-the-server-side/258)

<div class="topic-metadata">

**Author:** [@KalvinCheung](https://datashield.discourse.group/u/KalvinCheung)\
**Replies:** 6\
**Last updated:** [23 July 2020 08:35 UTC](https://datashield.discourse.group/t/using-specific-conda-environment-when-running-functions-on-the-server-side/258 "2020-07-23T08:35:20Z")

</div>

Hi, Currently we need to run tensorflow using datashield. Generally the procedure would be 1) set up the conda enviroment that contained python and tensorflow; 2) install tensorflow R package in R; 3) Load this conda e…

---

## [Configuration and database connection problems](https://datashield.discourse.group/t/configuration-and-database-connection-problems/255)

<div class="topic-metadata">

**Author:** [@KalvinCheung](https://datashield.discourse.group/u/KalvinCheung)\
**Replies:** 2\
**Last updated:** [21 July 2020 09:43 UTC](https://datashield.discourse.group/t/configuration-and-database-connection-problems/255 "2020-07-21T09:43:30Z")

</div>

Hi , I’m wondering whether there’re some tutorials about how to connect the database to opal. I installed the opal and rserver with RPM Package, also the MySQL and MongoDB. But I didn’t find any tutorial about how to d…

---

## [Url address for dstutorial-100 seems not correct](https://datashield.discourse.group/t/url-address-for-dstutorial-100-seems-not-correct/246)

<div class="topic-metadata">

**Author:** [@bendel](https://datashield.discourse.group/u/bendel)\
**Replies:** 5\
**Last updated:** [3 July 2020 10:53 UTC](https://datashield.discourse.group/t/url-address-for-dstutorial-100-seems-not-correct/246 "2020-07-03T10:53:47Z")

</div>

I have followed the tutorial for installing VMs on my computer (windows). https://data2knowledge.atlassian.net/wiki/spaces/DSDEV/pages/1146454017/v6+Windows+Installation+Instructions At the stage ‘Download Training VMs’…

---

## [ds.dataFrame - Accessing variables](https://datashield.discourse.group/t/ds-dataframe-accessing-variables/199)

<div class="topic-metadata">

**Author:** [@daniela.zoeller](https://datashield.discourse.group/u/daniela.zoeller)\
**Replies:** 5\
**Last updated:** [25 May 2020 13:12 UTC](https://datashield.discourse.group/t/ds-dataframe-accessing-variables/199 "2020-05-25T13:12:28Z")

</div>

Dear all, when I build a dataframe using ds.dataFrame with e.g. ds.dataFrame(x= c("D$age","D$sex","D$bmi"), newobj = "T") I do not know how to extract the variables in the dataframe T. The variables are called “D$age”…

---

## [Corrupted variables after cbind](https://datashield.discourse.group/t/corrupted-variables-after-cbind/209)

<div class="topic-metadata">

**Author:** [@Angela](https://datashield.discourse.group/u/Angela)\
**Replies:** 2\
**Last updated:** [25 May 2020 13:10 UTC](https://datashield.discourse.group/t/corrupted-variables-after-cbind/209 "2020-05-25T13:10:07Z")

</div>

Hi all, I have noticed that when working in DataSHIELD some variables become corrupted when I create a new data frame from an existing data frame, for example after using the cbind function to combine a new variable to a…

---

## [Failure in post-Install Configuration](https://datashield.discourse.group/t/failure-in-post-install-configuration/225)

<div class="topic-metadata">

**Author:** [@HankCao](https://datashield.discourse.group/u/HankCao)\
**Replies:** 5\
**Last updated:** [25 May 2020 06:59 UTC](https://datashield.discourse.group/t/failure-in-post-install-configuration/225 "2020-05-25T06:59:47Z")

</div>

Hi all, See the image below. After sucessful installation of datashield, I am asked to register two databases. However, after the registration, the datashield failed (after pressed the “test” button) to connect the d…

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

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