Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Server Mode in R #93

Open
thealanjason opened this issue Feb 12, 2025 · 2 comments
Open

Support for Server Mode in R #93

thealanjason opened this issue Feb 12, 2025 · 2 comments

Comments

@thealanjason
Copy link

Firstly, thank you for this awesome project.

I tried using the umbridge R library from here, and noticed that it currently only supports the client mode. The functions for the server mode are not implemented.

We would like to use a model based on the RobustGaSP library in R.

The easy way out, would be to create a python wrapper, and use the server mode from python. However, it would be great to have native support for the server mode in R. This would also make the R library of umbridge feature complete.

@thealanjason
Copy link
Author

With a little bit of support and if pointed in the right direction, I could also work on the implementation of the missing functions for the server mode in R :)

IIUC, the implementation needs to be done in this file:
https://github.com/UM-Bridge/umbridge/blob/main/R/R/umbridge.R

@linusseelinger
Copy link
Member

Thanks for reaching out @thealanjason !

Indeed, an R server would be awesome! I can't commit the time to do the heavy lifting, but would be happy to support if you'd like to build that.

umbridge.R is definitely the right place to put an R server. The endpoints that a server should provide are documented at https://um-bridge-benchmarks.readthedocs.io/en/docs/umbridge/lib.html . The main reason I didn't add an R server when developing the R client was that I didn't find a straightforward solution for HTTP servers in R. However, I didn't look deep and I'm not an R expert, so there might be some options!

We also have a Slack workspace (linked on docs main page), which is a good channel for getting in touch with other contributors and users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants