Thank *you* for identifying the source of the problem and fixing. :) /Henrik
On 10/6/06, Duncan Murdoch [EMAIL PROTECTED] wrote:
On 10/6/2006 6:20 PM, Henrik Bengtsson wrote:
Tried the following with R --vanilla on the Rv2.4.0 release (see
details at the end). I think the script and its
Tried the following with R --vanilla on the Rv2.4.0 release (see
details at the end). I think the script and its comments speaks for
itself, but the outcome is certainly not wanted.
for (n in 58950:58970) {
cat(n=, n, \n, sep=);
# Clean up first
rm(names, x, y); gc();
# Create a named
Another example:
avec - 1:55000
names(avec) - as.character(avec)
system.time(avec[names(avec)[1:39045]])
[1] 0.06 0.00 0.07 NA NA
system.time(avec[names(avec)[1:39046]])
[1] 23.89 0.00 23.94NANA
version
_
platform i386-pc-mingw32
arch i386
os
On 10/6/2006 6:20 PM, Henrik Bengtsson wrote:
Tried the following with R --vanilla on the Rv2.4.0 release (see
details at the end). I think the script and its comments speaks for
itself, but the outcome is certainly not wanted.
I see a similar effect to what you're describing. I also see it
On 10/6/2006 6:20 PM, Henrik Bengtsson wrote:
Tried the following with R --vanilla on the Rv2.4.0 release (see
details at the end). I think the script and its comments speaks for
itself, but the outcome is certainly not wanted.
I think this is fixed now in R-devel and R-patched. Thanks for