Displaying 5 results from an estimated 5 matches for "r52822".
2010 Sep 03
0
Pointer to fourteen patches to speed up R
...mprovement from these patches is substantial. It varies a lot from
one R program to the next, of course, and probably from one machine to
the next, but speedups of 25% can be expected in many programs, and
sometimes much more (though sometimes less as well).
The fourteen patches work for revision r52822 of the development
version of R (I haven't check against any changes in the last few
days), and also for release 2.11.1. I also wrote a number of timing
test programs.
I tried posting this message with the patches and test programs
attached, but it got held for moderation because it's ove...
2010 Sep 03
1
Fourteen patches to speed up R
...mprovement from these patches is substantial. It varies a lot from
one R program to the next, of course, and probably from one machine to
the next, but speedups of 25% can be expected in many programs, and
sometimes much more (though sometimes less as well).
The fourteen patches work for revision r52822 of the development
version of R (I haven't check against any changes in the last few
days), and also for release 2.11.1. These patches, along with
some documentation, are attached as speed-patches.tar.
I also wrote a number of timing test programs, which are attached as
speed-tests.tar.
I...
2010 Sep 08
0
Correction to vec-subset speed patch
...n-vector"));
+ return R_NilValue;
}
- return ans;
-}
+ nx = length(x);
+ ns = length(s);
-/* nx is the length of the object being subscripted,
- s is the R subscript value,
- dng gets a given attrib for x, which is the object we are
- subsetting,
-*/
+#if 0 /* In r52822, checked for no attributes of s, but only potential */
+ /* problem seems to be an R_UseNamesSymbol attribute, which can */
+ /* be ignored if the subscripts aren't strings. */
+ /* special case for simple indices -- does not duplicate */
+ if (ns == 1 &&am...
2010 Sep 22
4
Crash report: regexpr("a{2-}", "")
Each of the following calls crash ("core dumps") R (R --vanilla) on
various versions and OSes:
regexpr("a{2-}", "")
sub("a{2-}", "")
gsub("a{2-}", "")
EXAMPLES:
> sessionInfo()
R version 2.11.1 Patched (2010-09-16 r52949)
Platform: i386-pc-mingw32 (32-bit)
...
> regexpr("a{2-}", "")
Assertion
2010 Sep 22
4
Crash report: regexpr("a{2-}", "")
Each of the following calls crash ("core dumps") R (R --vanilla) on
various versions and OSes:
regexpr("a{2-}", "")
sub("a{2-}", "")
gsub("a{2-}", "")
EXAMPLES:
> sessionInfo()
R version 2.11.1 Patched (2010-09-16 r52949)
Platform: i386-pc-mingw32 (32-bit)
...
> regexpr("a{2-}", "")
Assertion