[Rd] bug in `pmatch' (error with too long 'choices')?
Joerg van den Hoff
j.van_den_hoff at fzd.de
Fri Oct 30 15:34:41 CET 2009
I observed the following:
yields 'white', but
`Error in match.arg("whit", colors()) :
'arg' should be one of "white", "aliceblue", '...
this message actually comes from `pmatch'. using a suitable subset of
`colors()' works OK. the precise length were the error occurs seems to
depend on `arg' and `choices'. e.g.
but the limit seems not be fixed. in another setting it
happend around a length of `choices' of around 130. maybe a memory management related
bug? or am I missing something?
system powerpc, darwin8.11.1
svn rev 49384
version.string R version 2.9.2 (2009-08-24)
More information about the R-devel