Displaying 2 results from an estimated 2 matches for "globaldrop".
2006 Sep 08
1
R drop behavior -- set as option in later version?
...SETCDR(last, CDR(el));
}
else last = el;
}
}
------------
This is not exactly the right syntax for a GetOption call, but
something along the following lines
should allow globally settable drop by modifying line 505:
------------
if(*drop == NA_LOGICAL) {
GetOption("GlobalDrop",drop); //assume drop is being modified by
reference to be set to whatever the GlobalDrop option is set to.
}
------------
The possible caveats are:
1) Performance issues associated with GetOption call (this is probably
not a showstopper)
2) Breaking old code which assumes drop=TRUE if th...
2006 Sep 08
1
R drop behavior -- set as option in later version?
...SETCDR(last, CDR(el));
}
else last = el;
}
}
------------
This is not exactly the right syntax for a GetOption call, but
something along the following lines
should allow globally settable drop by modifying line 505:
------------
if(*drop == NA_LOGICAL) {
GetOption("GlobalDrop",drop); //assume drop is being modified by
reference to be set to whatever the GlobalDrop option is set to.
}
------------
The possible caveats are:
1) Performance issues associated with GetOption call (this is probably
not a showstopper)
2) Breaking old code which assumes drop=TRUE if th...