I'm building the backend of an application in C# and I'm trying to build a request that includes rscript/code, which then goes off and hits RStudio, executes this code, and then sends the result back. How can I do this?
I didn't notice this possibility with RStudio Connect API. I did see the RStudio Workbench has an executeR function, but this seemed to be made for the frontend using JavaScript. I specifically need to be able to do this from the backend.
Someone had told me I might be able to do this with Jenkins as there is a R plugin or something for it. I'd prefer to do it from C# if I can.
I would question involving RStudio, which after all is only an IDE to help developers write R code, i.e. its a lot more than the R runtime.
I think you would be trying to invoke Rscript
ok, my suggestion relating to rscript was assuming a single device, if you want your consumer device to be serviced via http, plumber sounds good. The main plumber page gives examples, and discusses hosting, have you looked there ?