Re: [Rd] Rtools and MinGW

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Mon, 04 Apr 2011 10:04:47 +0100 (BST)

On Sun, 3 Apr 2011, Thomas Mang wrote:

> Hi,
>
> I have R version 2.8.1 and Rtools 28 installed (as you might guess, set up
> years ago). In Rtools the MinGW GCC 4.2 compiler toolset is included.
>
> For my regular C/C++ programs I have also installed, separately, the full
> MinGW bundle with the latest GCC 4.5 compiler tools. So I have two g++
> variants on the same machine.
>
> According to the Rtools documentation, the bin directory of it shall be in
> the system PATH, and very early in the PATH (first elements). Presently the
> bin directory of the Rtools-MinGW is front.
> Fine but Ok for my daily C++ work I actually prefer that the regular
> (non-Rtools) MinGW compiler is invoked, hence I would prefer putting that in
> front. But then, of course, invoking g++ from R development would refer to
> the regular MinGW compiler toolset. When I do R development, would you expect
> it to cause problems if actually the regular MinGW (gcc 4.5) is invoked, and
> not the version that came bundled with Rtools (4.2) ? Or is this something I
> should better stay away from ?
> If not likely to work, what would you suggest to do instead ?

Follow the posting guide and update your R before posting ....

We do not support ancient versions of R, and it is very likely that R 2.8.1 does not work correctly with gcc 4.5.2: there are incompatibilities in the argument passing.

> thanks and best,
> Thomas

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon 04 Apr 2011 - 09:09:44 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 04 Apr 2011 - 13:40:40 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive