Re: [R] Odd timing behaviour in reading a file

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sun 07 Aug 2005 - 15:20:04 EST

On Sun, 7 Aug 2005 Glenn.Stone@csiro.au wrote:

> Thanks, very helpful.
>
> Is there some way to adjust those GC triggers in advance?

Almost: that is what the statrtup flags such as --min-vsize help do.

> -----Original Message-----
> From: Prof Brian Ripley [mailto:ripley@stats.ox.ac.uk]
> Sent: Thu 8/4/2005 4:15 PM
> To: Stone, Glenn (CMIS, North Ryde)
> Cc: r-help@stat.math.ethz.ch
> Subject: Re: [R] Odd timing behaviour in reading a file
> Please see the gcFirst argument to system.time, which you should set to
> TRUE for such timings. Your second run is paying to GC the results of the
> first, most likely.
>
> Beyond that, R adjusts its GC triggers based on usage, and when you first
> start using large objects the trigger levels will grow and generally
> things will speed up. Set gcinfo(TRUE) to watch what is happening.

[...]

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
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 Sun Aug 07 15:29:39 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:07:58 EST