# Rserver vs. Rock

**URL:** <https://datashield.discourse.group/t/rserver-vs-rock/962>\
**Category:** Beginner Support\
**Created:** [8 March 2024 12:55 UTC](https://datashield.discourse.group/t/rserver-vs-rock/962 "2024-03-08T12:55:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aakkoc](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/aakkoc/32/200_2.png) [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Post date:** [8 March 2024 12:55 UTC](https://datashield.discourse.group/t/rserver-vs-rock/962/1 "2024-03-08T12:55:22Z")

</div>

Hi,

I realized that my Opal instance was running with an Rserver on a machine I set-up.

 ![image](https://global.discourse-cdn.com/free1/uploads/datashield1/original/1X/80aa471cf3c0b84ca47f4bd61ef232f478362fae.png)

In some guides, I have read that you can combine Rservers and Rock in your Server cluster. And I also think I had installed Rock on this machine, so I am wondering why Opal is not immediately seeing it. I need to add it under Manage \> Rock \> Add \> Service (Default, Admin or Manager & User).

What are some reasons I _should_ be using Rock over Rserver, if any?

Thanks!

---

<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:** [8 March 2024 13:42 UTC](https://datashield.discourse.group/t/rserver-vs-rock/962/2 "2024-03-08T13:42:44Z")

</div>

Rock replaces rserver with a modern REST API interface, since 2021. Despite the fact that Opal still supports connections to legacy rservers, this will not be the case anymore in the next major release of Opal: too much legacy code to maintain.

This being said, in your case the R server looks like it is a Rock one (port 8085).

---

<div class="post-metadata">

**Author:** ![aakkoc](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/aakkoc/32/200_2.png) [@aakkoc](https://datashield.discourse.group/u/aakkoc)\
**Post date:** [8 March 2024 14:14 UTC](https://datashield.discourse.group/t/rserver-vs-rock/962/3 "2024-03-08T14:14:43Z")

</div>

Hmm, I see!

That’s good to know that one should check on port number because Rock can be aliased as rserver.
