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?
To download and install RStudio Server open a terminal window and execute the following commands (corresponding to the 32 or 64-bit version as appropriate). Note that the gdebi-core package is installed first so that gdebi can be used to install RStudio and all of its dependencies.
Install R on windows Step – 1: Go to CRAN R project website. Step – 2: Click on the Download R for Windows link. Step – 3: Click on the base subdirectory link or install R for the first time link.
RStudio requires a 64-bit operating system. If you are on a 32 bit system, you can use an older version of RStudio.
RStudio Team is a bundle of RStudio’s popular professional software for data analysis, package management, and sharing data products. Learn how RStudio's enterprise-ready pro products help data science teams securely deploy their work, collaborate, and communicate with decision makers. 1. Install R. RStudio requires R 3.0.1+. 2.
Install Virtual Box
from here. Then get Ubuntu Server
and add the iso to the virtual machine. Manage to make the Ubuntu to access the network and install RStudio Server
.
That's it! Go on windows open the brower and type http://ipAddressOfUbuntu:8787/
.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With