|
DATA MINING
Desktop Survival Guide by Graham Williams |
|
|||
When doing timings of commands it is useful to know that garbage collection plays a role. R adjusts its garbage collection triggers accoring to your usage. When you first start using large objects the trigger levels will grow and generally things will speed up. You can use gcinfo to see the adjustments in action:
> gcinfo(TRUE) |
For the system.time function use the gcFirst.
Brought to you by Togaware.