Operating System: Windows 10
Interface Version: R x64 3.4.3 and Rstudio 1.1423 - Windows Vista/7/8/10
Output of writeLines(readLines(file.path(Sys.getenv(“HOME”), “.R/Makevars”))):
Output of devtools::session_info("rstan”):
Hello,
I’m trying to get Rtools34.exe to play nice with Rstudio 1.1.423 on a Windows 10, and I’m not succeeding.
According to the instructions on https://github.com/stan-dev/rstan/wiki/Install-Rtools-for-Windows, I’m supposed to check a box when I get to the “Select Additional Tasks” prompt. However, I don’t have the same options as the one depicted in the help page. My choices under “Edit Path” are "Current value: PATH = … " or “Save version information to registry”. If I click on the former, then I have the option to edit the path, and the default path is:
c:\Rtools\bin;
c:\Rtools\mingw_32\bin;
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
Since I don’t have a lot of experience with this, I left it as it was.
In Rstudio, I entered Sys.getenv(‘Path’) and my output is:
[1] “C:\Rtools\bin;C:\Program Files\R\R-3.4.3\bin\x64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Users\tthalhuber\AppData\Local\Microsoft\WindowsApps;”
I then tried system(‘g++ -v’) and I get:
Warning message:
running command ‘g++ -v’ had status 127
From what I’ve seen from other posts, it looks like my path is having a hard time finding the C++ compiler. I’m not sure where to go from here, so I was wondering if anyone had suggestions.
Thanks