# DataSHIELD command not recognized by Server

**URL:** <https://datashield.discourse.group/t/datashield-command-not-recognized-by-server/696>\
**Category:** Beginner Support\
**Created:** [2 February 2023 00:21 UTC](https://datashield.discourse.group/t/datashield-command-not-recognized-by-server/696 "2023-02-02T00:21:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shinyrhino](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@shinyrhino](https://datashield.discourse.group/u/shinyrhino)\
**Post date:** [2 February 2023 00:21 UTC](https://datashield.discourse.group/t/datashield-command-not-recognized-by-server/696/1 "2023-02-02T00:21:07Z")

</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=“server1”, url=“[https://srv1.stats-con.com](https://srv1.stats-con.com)”,  
> user=“administrator”, password=“password”)  
> logindata ← builder$build()  
> connections ← datashield.login(logins=logindata) datashield.assign.table(connections, symbol = “DST”, table = c(“project0.mtcars”))

> ds.dim(x = ‘DST’, datasources = connections) Aggregated (dimDS(“DST”)) [============================================================] 100% / 0s Error: There are some DataSHIELD errors, list them with datashield.errors()
> 
> > datashield.errors() $server1 [1] “Command ‘dimDS("DST")’ failed on ‘server1’: No such DataSHIELD ‘AGGREGATE’ method with name: dimDS”

---

<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:** [3 February 2023 16:12 UTC](https://datashield.discourse.group/t/datashield-command-not-recognized-by-server/696/2 "2023-02-03T16:12:31Z")

</div>

Hi,

There are some functions that can help with inspecting what Datashield config is available on your server:

- This function will list the aggregate functions available on the server:

```auto
datashield.methods(connections, type = "aggregate")

```

- This function will list the “datashield” packages installed on the R server:

```auto
datashield.pkg_status(connections)

```

Regards  
Yannick

---

<div class="post-metadata">

**Author:** ![shinyrhino](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@shinyrhino](https://datashield.discourse.group/u/shinyrhino)\
**Post date:** [4 February 2023 00:03 UTC](https://datashield.discourse.group/t/datashield-command-not-recognized-by-server/696/3 "2023-02-04T00:03:24Z")

</div>

Thanks, problem solved after replacing the line:

> ```
> image: obiba/rock:latest
> 
> ```

with the new line:

> ```
> image: datashield/rock-base:latest
> 
> ```

in the docker.yml file.

Please note that the docker.yml files in the OPAL documentation [1] is outdated and incomplete.

Kr, Shiny

[1] [Installation — Opal documentation](https://opaldoc.obiba.org/en/latest/admin/installation.html#install)
