-
Notifications
You must be signed in to change notification settings - Fork 26
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
Install on windows #32
Comments
@DKOli8 you need to have Rtools installed to compile C++ packages for R. Assuming you are installing from the CRAN repository you will need to set the environmental variables OPENCL_INC and likely OPENCL_LIB64. If you try to install from my 'develop' branch it should be automatic. You can try it with |
Replying on my phone, hopefully goes through. I have RTools and have used it to successfully get the dev version of data.table that's not on cran yet (it resolved a bug in fread that in the cran one). I tried what you put after seeing it on stack overflow yesterday. However when I do it asks me to download and install RTools. I have RTools and it is in my C:/ directory. Do I need to run setwd(C:/) first? My current working directly is a different drive. Thanks Sent from my iPhone On 6 Sep 2016, at 13:59, Charles Determan <notifications@github.commailto:notifications@github.com> wrote: @DKOli8https://github.com/DKOli8 you need to have Rtoolshttps://cran.r-project.org/bin/windows/Rtools/ installed to compile C++ packages for R. Assuming you are installing from the CRAN repository you will need to set the environmental variables OPENCL_INC and likely OPENCL_LIB64. If you try to install from my 'develop' branch it should be automatic. You can try it with devtools::install_github('cdeterman/gpuR', ref = 'develop') once you have Rtools installed. You are receiving this because you were mentioned. |
@DKOli8, no, you should have Rtools in your |
Working from home today, will see if that works tomorrow. Thanks! Sent from my iPhone On 6 Sep 2016, at 14:12, Charles Determan <notifications@github.commailto:notifications@github.com> wrote: @DKOli8https://github.com/DKOli8, no, you should have Rtools in your PATH variable. You shouldn't need to set and working directories for that. Also, if installing from my 'develop' branch you will also need the more recent RViennaCL package too devtools::install_github('cdeterman/RViennaCL') You are receiving this because you were mentioned. |
@DKOli8 did you manage to try the reinstall again? |
I've literally just opened this page to do it. I added C:/RTools to my environment. Ran your install: Downloading GitHub repo cdeterman/gpuR@develop downloaded 123.7 MB Error: running command '"C:/PROGRA ^For some reason it tried to download RTools33.exe again and then R gives the above error before windows prompts to install. Looking at the prompt, the location is in Appdata and attempts to install to directory or C:\RBuildTools\3.3 which I already have. I have C:\RBuildTools\3.3 and C:\RTools. They have the same file/folders except RBuild also has the folder gcc-4.63. I will add the RBuildTools\3.3 to my env path now try again. No, it failed. However the RViennaCL was successful: Downloading GitHub repo cdeterman/RViennaCL@master
|
@DKOli8 you want the following near the beginning of your
This way it looks in the |
I have: C:\Users\robsoo01\AppData\Local\atom\bin;C:\Oracle\instantclient_12_1;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\cygnus\cygwin-b20\H-i586-cygwin32\bin;C:\RTools;C:\RBuildTools\3.3;c:\Rtools\bin;c:\Rtools\mingw_64\bin;c:\Rtools\mingw_32\bin; For user and for system: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\libnvvp;C:\Program Files (x86)\Intel\OpenCL SDK\6.1\bin\x64;C:\Program Files (x86)\Intel\OpenCL SDK\6.1\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\6.1\bin\Pin;C:\Program Files (x86)\Intel\OpenCL SDK\6.1\bin\GTPin;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C:\Program Files\Git\cmd;C:\HashiCorp\Vagrant\bin;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Users\robsoo01.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\cygnus\cygwin-b20\H-i586-cygwin32\bin;C:\RBuildTools\3.3;C:\RTools;c:\Rtools\bin;c:\Rtools\mingw_64\bin;c:\Rtools\mingw_32\bin; |
I suspect it is having issues with cygwin because it comes before Rtools in your |
Could you post an example of how the above should be rearranged? I don't want to mess up anything else like Orcale or SQL server or anything else. |
For example, the first
it should be:
|
edited the system ones too: ...
Thanks! |
Excellent, glad it worked for you. |
Getting the following error trying to install:
** package 'gpuR' successfully unpacked and MD5 sums checked
g++ version = egcs-2.91.57
OPENCL_INC not found!
Please set OPENCL_INC to OpenCL headers.
Warning: running command 'sh ./configure.win' had status 1
I downloaded openCL code builder, then visual studio as well as cuda, but R could never find a g++ compiler so I installed cygwin. I've also added "C:\cygnus\cygwin-b20\H-i586-cygwin32\bin" to my user and system PATH variables.
I'm an analyst trying to install this, not a computer scientist. I know my way around a computer but very limited experience in compiling etc
Thanks in advance
The text was updated successfully, but these errors were encountered: