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 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.