mckennapsean / scorrplot

interactive scatterplot for visually exploring pairwise correlation
http://mckennapsean.com/projects/s-corrplot/
GNU General Public License v2.0
11 stars 2 forks source link

possible windows support #3

Open mckennapsean opened 8 years ago

mckennapsean commented 8 years ago

Soooo, somewhat good news! I was able to get this package to run on Windows, using the new Windows Subsystem for Linux. Basically, it can compile and run properly using R compiled for linux, and the system calls are transformed to run on the Windows NT kernel. How crazy is that?

To get this working, I had to install the Xming X11 server on Windows, then update Windows' Ubuntu installation with some proper development packages, and it all worked fine! There was another X11 server that did not display the OpenGL properly (VcXsrv). From some basic testing of the demos, it seems that it all works in Xming, but it is slower / has more lag compared to running natively on an X server.

I doubt that this will really be supported by me - rather, I just wanted to make sure others were aware that it is somewhat possible now! Let me know if you need more details.

win-scorr

mckennapsean commented 1 year ago

with wsl2, this also still seems to work in Windows. performance is much improved, which could be due to more recent hardware (and some virtual drivers may improve it too).

they now have native x11 support, so nothing special was needed beyond wsl for windows to work.

I did need to install a bunch of dev dependencies & load up the repo in git since the makevars were not working/recognizing one of the command flags (strange). took a while, since I'd never gotten this running on Arch linux (Ubuntu might have been easier).

I think it is safe to say that this is "good enough" & we could update the repo with Windows support via WSL (assuming you install all the dependencies, which is a bit of a pain). some day, would love to have this working in wasm for easier/faster development, but no idea if I will ever get to that :)