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

yehengxin xye78 at hotmail.com
Fri Apr 16 01:23:03 CEST 2010


Dear R experts:

I attempted to compile c source code  into DLL using "R CMD SHLIB" but I
found the DLL run in R is almost twice slower than the codes compiled in C++
6.0 when I chose "release" option and is as fast as the situation where I
chose "debug" option in C++ 6.0.  I wonder how to improve the efficiency of
DLL compiled by gcc compiler in R.  Thanks in advance!

Xin 
-- 
View this message in context: http://n4.nabble.com/Efficiency-of-C-Compiler-in-R-CMD-SHLIB-tp1934429p1934429.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list