Displaying 5 results from an estimated 5 matches for "nneeded".
Did you mean:
needed
2015 Jan 18
2
default min-v/nsize parameters
..., R_VShrinkIncrFrac = 0.2;
347 static int R_VGrowIncrMin = 80000, R_VShrinkIncrMin = 0;
348#endif
static void AdjustHeapSize(R_size_t size_needed)
{
R_size_t R_MinNFree = (R_size_t)(orig_R_NSize * R_MinFreeFrac);
R_size_t R_MinVFree = (R_size_t)(orig_R_VSize * R_MinFreeFrac);
R_size_t NNeeded = R_NodesInUse + R_MinNFree;
R_size_t VNeeded = R_SmallVallocSize + R_LargeVallocSize +
size_needed + R_MinVFree;
double node_occup = ((double) NNeeded) / R_NSize;
double vect_occup = ((double) VNeeded) / R_VSize;
if (node_occup > R_NGrowFrac) {
R_size_t change = (R_size...
2015 Jan 20
1
default min-v/nsize parameters
...rMin = 0;
>> 348#endif
>>
>> static void AdjustHeapSize(R_size_t size_needed)
>> {
>> R_size_t R_MinNFree = (R_size_t)(orig_R_NSize * R_MinFreeFrac);
>> R_size_t R_MinVFree = (R_size_t)(orig_R_VSize * R_MinFreeFrac);
>> R_size_t NNeeded = R_NodesInUse + R_MinNFree;
>> R_size_t VNeeded = R_SmallVallocSize + R_LargeVallocSize +
>> size_needed + R_MinVFree;
>> double node_occup = ((double) NNeeded) / R_NSize;
>> double vect_occup = ((double) VNeeded) / R_VSize;
>>
>> if (no...
2015 Jan 19
0
default min-v/nsize parameters
...atic int R_VGrowIncrMin = 80000, R_VShrinkIncrMin = 0;
> 348#endif
>
> static void AdjustHeapSize(R_size_t size_needed)
> {
> R_size_t R_MinNFree = (R_size_t)(orig_R_NSize * R_MinFreeFrac);
> R_size_t R_MinVFree = (R_size_t)(orig_R_VSize * R_MinFreeFrac);
> R_size_t NNeeded = R_NodesInUse + R_MinNFree;
> R_size_t VNeeded = R_SmallVallocSize + R_LargeVallocSize +
> size_needed + R_MinVFree;
> double node_occup = ((double) NNeeded) / R_NSize;
> double vect_occup = ((double) VNeeded) / R_VSize;
>
> if (node_occup > R_NGrowFrac) {
>...
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
2006 Mar 08
12
best way to combine results from two tables
I want to combine a selection of data from two tables and display it as
list. Note that this isn''t a join.
i''m looking for something like this:
Table 1: Sheep
Name, Age, Farmer, etc. (sheep specific columns)
Table 2: Cows:
Name, Age, Farmer, etc. (cow specific columns)
For my display I nneed something like this:
Farmer Jone''s Livestock:
TYPE NAME AGE
Cow