From vakili.kaveh.email at gmail.com  Thu Oct 30 22:55:11 2014
From: vakili.kaveh.email at gmail.com (kaveh)
Date: Thu, 30 Oct 2014 22:55:11 +0100
Subject: [Rd] DIY Rtools?
In-Reply-To: <5452B380.7090102@gmail.com>
References: <mailman.0.1414694361.8176.r-devel@r-project.org>
	<5452874A.4010408@gmail.com> <5452B380.7090102@gmail.com>
Message-ID: <5452B3BF.30809@gmail.com>

Thank you very much for all these infos!

Best regards,


On 2014-10-30 22:54, Duncan Murdoch wrote:
> On 30/10/2014, 2:45 PM, kaveh wrote:
>> Dear List,
>>
>> I'm currently working on an R package that
>> works great when compiled with GCC 4.8 under linux
>> but which doesn't seem to work so well when compiled
>>    by the win builder (http://win-builder.r-project.org/).
>>
>> After asking around a bit, the primary culprit could be
>> the older version of GCC used in Rtools.
>>
>> Now, for academic purposes, I would like to have
>>    a zip version of this package (not to distribute
>> through CRAN mind you, but to submit alongside
>>    the associated paper).
>>
>> My questions are as follows:
>>
>> -Am I correct to think that Rtool uses GCC 4.6.3?
> Yes.
>
>> -If so, is there a way to build windows runable R
>> package using a more recent version of GCC?
> Yes, you need to install one (I've been told they are available from the
> MinGW-64 project) on your path, then just use it.  If it needs different
> options from the ones that 4.6.3 needed, it will be slightly more work:
>   you'll need to edit the Makefile, or Makevars, or MkRules.* files in
> src/gnuwin32 to put those options in place.
>
> Unlike other platforms, the Windows builds have no "configuration" step,
> that's all done by hand (usually by Brian Ripley, thanks!).  If you
> change to a different compiler, you may need to change some of that.
>
> Our plans are to switch to a newer compiler before the release of R
> 3.2.0 in the spring, but I won't promise when new Rtools will be available.
>
> Duncan Murdoch
>
>> Thanks in advance for sharing your views on this,
>>
>> Bests regards,
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>



[Rd] DIY Rtools?
kaveh