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 RStudio Server on WSL #4367
Comments
|
We don't currently plan to support RStudio Server on WSL. |
|
We'll use this request to track that. |
|
More and more folks are using WSL, so this is important. Also, Microsoft has recently updated the way WSL installs, including a better filesystem. So looking into that would be useful. https://www.windowscentral.com/whats-new-windows-console-windows-10-may-2019-update https://devblogs.microsoft.com/commandline/announcing-wsl-2/ |
|
I +1 this. I have all my tools in the WSL but I'd like to use RStudio. I don't want to keep another R installation in my windows machine + alle the packages just for that, though. |
|
The error
may be related to this issue? This error happens when verify the installation with command "rstudio-server verify-installation" after a fresh installation. Version is 1.2.5001; Windows 10 version is 18362.10022. ================== Update: this message when the port is occupied. For example, I run in rstudio-server in WSL while I already deployed a rstudio docker container running on port 8787. |
|
See this post and it works for me (though I found Xming is not required on Windows): https://johnmuschelli.com/neuroc/windows_wsl/index.html |
RStudio Server is a pure web-based application, not sure why that article says to install X. That would be needed only if you wanted to run Linux Desktop version of RStudio inside WSL (which seems pointless). |
|
As soon as WSL v2 goes into general release (i.e. doesn't require joining Windows Insider program) I'll test out running RStudio Server again; don't want to declare RStudio Server supported on WSL until then. |
|
@gtritchie I was searching around, and I can't find more details on when v2 will be released. It was in preview build 18917. Will it be in 20H1 or 20H2? |
|
Not official, but looks like 20H1: https://www.howtogeek.com/438830/whats-new-in-windows-10s-20h1-update-arriving-spring-2020/ |
|
Here's similar info on a Microsoft page: https://docs.microsoft.com/en-us/windows-insider/at-home/whats-new-wip-at-home-20h1 |
|
I hope they release it soon! I was trying windows insider for a while, but I need more stability. |
|
FYI we shipped Windows 10 2004 with WSL 2 support this week. Would be lovely to have RStudio running on WSL 2! |
|
Yup, it's on my list. I was able to run RStudio Server on WSL 1 with few problems (other than performance). |
|
Did a trial run today; At first blush, RStudio Server runs great on WSL2. I tried Ubuntu 18 build of RStudio Server 1.3.959 on Ubuntu 20 WSL2 instance following our standard install instructions. https://rstudio.com/products/rstudio/download-server/debian-ubuntu/ Then you just hit localhost:8787 in browser. Still get that previously mentioned message at end of the install: Just initial test, but looking good so far. |
|
After restarting WSL, do have to manually restart RStudio Server via "sudo rstudio-server start" so that's probably related to that error message. |
This comment was marked as outdated.
This comment was marked as outdated.
|
Support article published on running RStudio Server in WSL2. Problem with having to manually restart still there, but keeping this issue open to track investigation of that. https://support.rstudio.com/hc/en-us/articles/360049776974-Using-RStudio-Server-on-Windows-with-WSL2 |
|
Just to add, RStudio works on WSL if you install via conda - but the conda package is out of date and is officially unsupported so Your Milage May Vary. |
|
Hi all, How to solve it? A note: I do not have these 2 files on my debian WSL2 OS |
If I run http://localhost:8787/ it works. #solved |
|
Please post your steps for installing rstudio-server. I've had no trouble. Also, is there a reason you are using rstudio-server instead of rstudio-desktop? |
Hi,
I am running the Rstudio server on my windows subsystem linux (Ubuntu 18.04.1 LTS) and encountered a problem saying:
AFAIK, Ubuntu has switched to
systemdecosystem andtelinitin wsl (ubuntu 18.04) is a symbolic link pointing to/bin/systemctl*, which could be the cause.Therefore, I was wondering if you have any plan to solve the compatibility.
The text was updated successfully, but these errors were encountered: