AMM
AMM

Reputation: 2205

Running R code via Rstudio on a remote server not by browser

Is there a way to use a local Rstudio installation on my machine which is actually running the code on a remote server where I can run distributed jobs via SLURM? Can it be compatible with version control and dockers?

Upvotes: 2

Views: 2908

Answers (1)

abalter
abalter

Reputation: 10383

The remoter package does what you are wanting to do very well. You start R on the remote server and run remoter :: server(showmsg=TRUE). Then in you local RStudio you run remoter :: client (). Works fairly flawlessly.

My main issue is that when you run help it comes from the remote session in the console rather than the help window.

https://cran.r-project.org/web/packages/remoter/vignettes/remoter.pdf

Upvotes: 3

Related Questions