rtools 3.3 ??

59 views
Skip to first unread message

Sebastian Weber

unread,
Aug 13, 2016, 7:26:27 AM8/13/16
to stan development mailing list
Hi!

The wiki for rstan says to NOT use Rtools 3.3 in case you have R 3.2.x ... I think that is not quite correct, or?

https://github.com/stan-dev/rstan/wiki/Install-Rtools-for-Windows

For R 3.2.x you should use Rtools 3.3, but you must not use Rtools 3.4. The wiki is also confusing as it says that the latest frozen Rtools should be used in case of R 3.2.x, but Rtools 3.3 is the latest frozen one.

So what's now correct?

Sebastian

Ben Goodrich

unread,
Aug 13, 2016, 9:44:46 AM8/13/16
to stan development mailing list

I believe R 3.2.x is still built with mingw based on g++-4.6, whereas R >= 3.3.0 is built with mingw based on g++-4.9. It seems Rtools33 comes with both mingws and it tries to figure out which toolchain to use based on the R version.  But to use mingw based on g++-4.9, you have to set the BINPATH environmental variable in your .Rprofile. In any event, using mingw based on g++-4.9 has not been as problematic for Stan as feared.

Ben

Sebastian Weber

unread,
Aug 15, 2016, 5:07:32 AM8/15/16
to stan development mailing list
Hi!

Currently we have this

"Download Rtools from http://cran.r-project.org/bin/windows/Rtools/. If you have installed R version 3.3.x, download and run Rtools33.exe. If you have installed R version 3.2.x or lower, do not use Rtools33.exe but rather choose the most recent "frozen" version that supports the version of R you have installed."

on https://github.com/stan-dev/rstan/wiki/Install-Rtools-for-Windows

I suggest to change this to

"Download Rtools from http://cran.r-project.org/bin/windows/Rtools/. If you have installed R version 3.3.x, download and run Rtools34.exe. If you have installed R version 3.2.x or lower, use Rtools33.exe."

What is confusing at the moment is that you recommend against the use of Rtools 3.3 and instead tell users to use the latest frozen one - which is Rtools33.

Best,
Sebastian
Reply all
Reply to author
Forward
0 new messages