# Error: No such value table in data in Data Source

**URL:** <https://datashield.discourse.group/t/error-no-such-value-table-in-data-in-data-source/215>\
**Category:** Analyst Support\
**Created:** [17 May 2020 10:02 UTC](https://datashield.discourse.group/t/error-no-such-value-table-in-data-in-data-source/215 "2020-05-17T10:02:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vvanhees](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vvanhees](https://datashield.discourse.group/u/vvanhees)\
**Post date:** [17 May 2020 10:02 UTC](https://datashield.discourse.group/t/error-no-such-value-table-in-data-in-data-source/215/1 "2020-05-17T10:02:20Z")

</div>

Hi all, I am going through the tutorial for local installation and usage of Datashield (Windows). Following help from Alex I managed to set up the two local opal servers. Thanks!

For installing the Datashield R packages I first downgraded my R version 4.0 to 3.6 just in case your R packages are not 4.0 ready yet. From a previous [post](https://datashield.discourse.group/t/recommended-way-of-installing-dsmodellingclient-etc-in-v5/135/2) I conclude that installing ‘dsModellingClient’, ‘dsGraphicsClient’, ‘dsStatsClient’ is not possible and not needed, so I ignore the installation of those three packages and only do:

```
install.packages('opal', repos='http://cran.obiba.org', type='source')
install.packages('dsBaseClient', repos='http://cran.obiba.org', type='source') 

```

Continuing with the tutorial:

```
library(opal)
library(dsBaseClient)
> data(logindata)
Warning message:
In data(logindata) : data set ‘logindata’ not found

```

I suppose object logindata has been removed? To work around this I downloaded the table via your link, resulting in my\_login object:

```
 server url user password table
1 study1 192.168.56.100:8080 administrator password CNSIM.CNSIM
2 study2 192.168.56.101:8080 administrator password CNSIM.CNSIM

```

However,

```
> opals <- datashield.login(logins=my_login,assign=TRUE)

Logging into the collaborating servers
Error: 192.168.56.100: Unauthorized (401)

```

The url seems correct as I am able to access the login screen via my browser. I am guessing the password is not correct, so I update the password used elsewhere in the tutorials.

```
my_login$password = "datashield_test&"

> opals <- datashield.login(logins=my_login,assign=TRUE)

Logging into the collaborating servers
Warning: study1 will be excluded: Error : study1: Not Found (404): {"code": 404,"status": "NoSuchValueTableInDatasource","arguments": ["CNSIM","CNSIM"]}

Warning: study2 will be excluded: Error : study2: Not Found (404): {"code": 404,"status": "NoSuchValueTableInDatasource","arguments": ["CNSIM","CNSIM"]}

```

Do I need to update the table names in the login object or did I go wrong in any of the preceding steps?

Thanks, Vincent

---

<div class="post-metadata">

**Author:** ![yannick](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/yannick/32/19_2.png) [@yannick](https://datashield.discourse.group/u/yannick)\
**Post date:** [18 May 2020 07:10 UTC](https://datashield.discourse.group/t/error-no-such-value-table-in-data-in-data-source/215/2 "2020-05-18T07:10:34Z")

</div>

Hi,

No such value table: there is no table in Opal called CNSIM in the project CNSIM. If you login in Opal you will probably see that the tables are called CNSIM1, CNSIM2 and CNSIM3. Then change your logindata by replacing lines with CNSIM.CNSIM, with CNSIM.CNSIM1 and CNSIM.CNSIM2.

Best  
Yannick

---

<div class="post-metadata">

**Author:** ![vvanhees](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vvanhees](https://datashield.discourse.group/u/vvanhees)\
**Post date:** [18 May 2020 14:37 UTC](https://datashield.discourse.group/t/error-no-such-value-table-in-data-in-data-source/215/3 "2020-05-18T14:37:46Z")

</div>

> [@yannick](#):
>
> table in Opal called CNSIM in the project CNSIM. If you login in Opal you will probably see that the tables are called CNSIM1, CNSIM2 and CNSIM3. Then change your logindata by replacing lin

Thank you! But please note that the tutorial [section login template](https://data2knowledge.atlassian.net/wiki/spaces/DSDEV/pages/12943465/Local+DataSHIELD+Training+Environment) will need updating as there the CNSIM tables do not have numbers.

Edit: Sorry, I now see that I am looking at the version 4.0 tutorial, while probably I should be looking at the version 5.0 tutorials.

---

<div class="post-metadata">

**Author:** ![vvanhees](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vvanhees](https://datashield.discourse.group/u/vvanhees)\
**Post date:** [18 May 2020 15:04 UTC](https://datashield.discourse.group/t/error-no-such-value-table-in-data-in-data-source/215/4 "2020-05-18T15:04:58Z")

</div>

I just figured out how I ended up using the wrong tutorial.

The url on [http://www.datashield.ac.uk/support/](http://www.datashield.ac.uk/support/) for “DataSHIELD User Tutorial” points to the version 4.0 tutorial, probably this should now be updated to the version 5.0 tutorial.

---

<div class="post-metadata">

**Author:** ![alexwesterberg](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@alexwesterberg](https://datashield.discourse.group/u/alexwesterberg)\
**Post date:** [18 May 2020 15:45 UTC](https://datashield.discourse.group/t/error-no-such-value-table-in-data-in-data-source/215/5 "2020-05-18T15:45:21Z")

</div>

Thanks for the tip, I’ll get on that immediately.
