Displaying 3 results from an estimated 3 matches for "extractsubset".
Did you mean:
extract_subset
2009 Nov 03
1
memory misuse in subscript code when rep() is called in odd way
...0x805A726: Rf_ReplIteration (main.c:262)
==26459== by 0x805A95E: R_ReplConsole (main.c:311)
==26459== by 0x805AFBC: run_Rmainloop (main.c:964)
==26459== by 0x8058E2B: main (Rmain.c:33)
==26459==
==26459== Conditional jump or move depends on uninitialised value(s)
==26459== at 0x80C60BB: ExtractSubset (subset.c:64)
==26459== by 0x80C73B9: do_subset_dflt (subset.c:171)
==26459== by 0x80B4283: do_rep (Rinlinedfuns.h:161)
==26459== by 0x816491B: Rf_eval (eval.c:464)
==26459== by 0x805A726: Rf_ReplIteration (main.c:262)
==26459== by 0x805A95E: R_ReplConsole (main.c:311)
==26459== b...
2020 Feb 03
1
ALTREP "wrapper" classes needs an Extract_subset method
...n the
wrapper class init functions. This means that the default ALTREP method of
`altvec_Extract_subset_default()` is called, which simply returns `NULL`.
Consider what that means for an ALTREP compact integer seq that has been
"wrapped". The default subsetting code will eventually call
`ExtractSubset()`. That checks if the object is ALTREP, and calls the
ALTREP Extract_subset() method if so. If the return value from that is
NULL, then it will fallback to repeatedly calling `INTEGER_ELT()` to do the
subsetting. See below for the relevant section:
https://github.com/wch/r-source/blob/d1c0c6b921f...
2003 Oct 28
2
proposal for "strict" versions of subsetting operators
I'd like to propose adding "strict" versions of the subsetting operators "[", "[[", and "$" to the R language. These strict versions would be intended for use in programming rather than in interactive use. They do not perform any form of partial string matching or opportunistic simplification such as dimension dropping by default. They allow more