Re: [R] how to make R faster under GNU/Linux

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Tue 21 Jun 2005 - 10:39:23 EST

On 20 June 2005 at 08:29, bogdan romocea wrote:
| I timed the same code (simulation with for loops) on the same box
| (dual Xeon EM64T, 1.5 Gb RAM) under 3 OSs and was surprised by the
| results:
| Windows XP Pro (32-bit): Time difference of 5.966667 mins
| 64-bit GNU/Linux (Fedora Core 4): Time difference of 6.966667 mins
| 32-bit GNU/Linux (FC4): Time difference of 9.2 mins
| (R 2.1.0 binaries downloaded from CRAN)
|
| I searched the archives and found out I should compile a non-SHLIB R
| binary. Is there something else I should pay attention to when trying
| to make R faster under GNU/Linux?

See 'help(Rprof)' for profiling support. It will tell how the time is spent by your loop, and I see no reason why you can't compare that across architectures too.

Hth, Dirk

-- 
Statistics: The (futile) attempt to offer certainty about uncertainty.
         -- Roger Koenker, 'Dictionary of Received Ideas of Statistics'

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Jun 21 10:44:39 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:54 EST