Reputation: 3393
Is it possible to install RStudio Server on a Windows machine? I know that it is possible if I use AMI, but how could I install it without AMI?
I've read at http://www.r-bloggers.com/rstudio-server-part-2-pros-of-using-rstudio-server-for-a-remote-connection/ that:
"This is mainly a problem under Windows, where you need to install Cygwin to get the X server running (assuming using putty for the ssh connection). Although it works, I don’t really like installing a lot of additional software just to get a remote connection with graphic support."
But I dont get it... Any ideas?
Upvotes: 16
Views: 23595
Reputation: 911
Here are the steps I took to solve this. My setup is a Windows 10 Pro on a LAN ("host computer"). My goal is to have rstudio-server running on a ubuntu virtual machine ("guest computer", running on the windows computer, and accessible to another computer on the LAN ("remote computer").
ifconfig
on the terminal, find the ip address after inet. Mine was 10.0.2.15.ssh -N -L 8787:localhost:8787 [email protected]
, where username is the name of the user on the guest (ubuntu virtualbox).In principle this can be generalized to beyond LAN, if the router forwards incoming port 22 to the ip address of the windows computer to the windows computer (most routers won't do this by default, I think).
Also this should work on a MacOS as well, since both virtualbox and openssh are available there (have not tried).
Upvotes: 2
Reputation: 1909
I've used it on ubuntu and want to share with mates on windows...
Actually found it is possible through Docker: https://hub.docker.com/r/rocker/rstudio/
Upvotes: 0