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

compilation error in Windows #4

Closed reinbot closed 1 year ago

reinbot commented 7 years ago

Hi,

I installed Rtools 3.4 with R 3.3.3 on a Windows machine and tried to download and compile your package via

devtools::install_github("mckennapsean/scorrplot")

and go the following error

find_rtools() [1] TRUE

devtools::install_github("mckennapsean/scorrplot") Downloading GitHub repo mckennapsean/scorrplot@master from URL https://api.github.com/repos/mckennapsean/scorrplot/zipball/master Installing scorr "C:/Users//Documents/R/R-3.3.3/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \ "C:/Users//AppData/Local/Temp/Rtmp0EAtrl/devtools38f8573d51c1/mckennapsean-scorrplot-787ae1b" --library="C:/Users/**/Documents/R/win-library/3.3" \ --install-tests installing source* package 'scorr' ... libs arch - i386 make: uname: Command not found'

Best,

reinbot

mckennapsean commented 7 years ago

Reinbot, unfortunately Windows is not currently supported. :\

  1. The codebase requires C libraries which map memory in linux/unix which have not been fully supported on Windows. I haven't checked in a few years, but it seemed pretty obscure. The implementations that existed were sparse, incomplete, and I got none of them to work.

  2. You can technically run it through Windows Subsystem for Linux (see #3), but it is a bit slow. This works because it uses the linux kernel calls but maps them to Windows ones. Quite clever. GUI apps are a bit slow though, since the main purpose of WSL is really the command-line interface.

I am toying around with a web-based version in my free time, due to these incompatibilities.

ericmelse commented 1 year ago

Likewise, installation is refused in R version 4.2.2 Patched (2022-11-30 r83409 ucrt) -- "Innocent and Trusting"

Warning message:
In i.p(...) :
  installation of package ‘C:/Users/Vught/AppData/Local/Temp/Rtmp4o3tLW/file23f07ffb1e3e/scorr_1.0.tar.gz’ had non-zero exit status
mckennapsean commented 1 year ago

see #3 -- native windows support is just not provided by this repo, but you can get this working with WSL.

you may need to tweak some of the parameters in makevars for newer versions of tools (it seems like search_paths_first was not a thing for me). not 100% sure if that is a full-fix or for what versions, so I will probably not push an update to the repo unless someone can confirm on more hardware/setups :) you do need to have many dev dependencies installed in order to build this tool. it's quite extensive, from a mesa/opengl dev driver + freegl dev install. it takes a lot of dependencies to run the gui app. I don't intend to support any more systems with this repo -- it would likely be a new tool built for wasm/web-gui-first before I touched this one. hope you understand!