[R] Efficiency of C Compiler in "R CMD SHLIB"

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Apr 18 19:04:53 CEST 2010


Please see the manuals

On 16.04.2010 16:11, yehengxin wrote:
>
> Thank you very much for your kind explanation.  I did find my DLL compiled
> using either VC++ 6.0 or Intel Compiler (almost equally fast) is
> significanlty faster than that compiled using gcc (55 seconds vs. 78
> seconds), the default compiler in R.  I did not choose "debug" mode when
> using gcc so I suppose it generates "released" version of DLL.  I just
> wonder how to switch to using ICC or VC++ 6.0' compiler in "R CMD SHLIB".
> Could you give me some advice?  Thanks!

See http://www.stats.uwo.ca/faculty/murdoch/software/compilingDLLs/

Uwe Ligges



More information about the R-help mailing list