Displaying 4 results from an estimated 4 matches for "r_nshrinkincrfrac".
2015 Jan 18
2
default min-v/nsize parameters
...(luke last authored on Nov 1, 2000)
#ifdef SMALL_MEMORY
336 /* On machines with only 32M of memory (or on a classic Mac OS port)
337 it might be a good idea to use settings like these that are more
338 aggressive at keeping memory usage down. */
339 static double R_NGrowIncrFrac = 0.0, R_NShrinkIncrFrac = 0.2;
340 static int R_NGrowIncrMin = 50000, R_NShrinkIncrMin = 0;
341 static double R_VGrowIncrFrac = 0.0, R_VShrinkIncrFrac = 0.2;
342 static int R_VGrowIncrMin = 100000, R_VShrinkIncrMin = 0;
343#else
344 static double R_NGrowIncrFrac = 0.05, R_NShrinkIncrFrac = 0.2;
345 static int R_NGrow...
2015 Jan 20
1
default min-v/nsize parameters
...MORY
>> 336 /* On machines with only 32M of memory (or on a classic Mac OS port)
>> 337 it might be a good idea to use settings like these that are more
>> 338 aggressive at keeping memory usage down. */
>> 339 static double R_NGrowIncrFrac = 0.0, R_NShrinkIncrFrac = 0.2;
>> 340 static int R_NGrowIncrMin = 50000, R_NShrinkIncrMin = 0;
>> 341 static double R_VGrowIncrFrac = 0.0, R_VShrinkIncrFrac = 0.2;
>> 342 static int R_VGrowIncrMin = 100000, R_VShrinkIncrMin = 0;
>> 343#else
>> 344 static double R_NGrow...
2015 Jan 19
0
default min-v/nsize parameters
...ov 1, 2000)
> #ifdef SMALL_MEMORY
> 336 /* On machines with only 32M of memory (or on a classic Mac OS port)
> 337 it might be a good idea to use settings like these that are more
> 338 aggressive at keeping memory usage down. */
> 339 static double R_NGrowIncrFrac = 0.0, R_NShrinkIncrFrac = 0.2;
> 340 static int R_NGrowIncrMin = 50000, R_NShrinkIncrMin = 0;
> 341 static double R_VGrowIncrFrac = 0.0, R_VShrinkIncrFrac = 0.2;
> 342 static int R_VGrowIncrMin = 100000, R_VShrinkIncrMin = 0;
> 343#else
> 344 static double R_NGrowIncrFrac = 0.05, R_NShrinkIncrFrac = 0.2...
2015 Jan 15
2
default min-v/nsize parameters
Just wanted to start a discussion on whether R could ship with more
appropriate GC parameters. Right now, loading the recommended package
Matrix leads to:
> library(Matrix)
> gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 1076796 57.6 1368491 73.1 1198505 64.1
Vcells 1671329 12.8 2685683 20.5 1932418 14.8
Results may vary, but here R needed 64MB of N cells and 15MB