From mtmorgan at fhcrc.org  Wed Nov 23 01:34:42 2005
From: mtmorgan at fhcrc.org (Martin Morgan)
Date: Tue, 22 Nov 2005 16:34:42 -0800
Subject: [Rd] winMenuAdd
Message-ID: <6phlkzg2od9.fsf@gopher3.fhcrc.org>

The following

winMenuAdd("X")
for (i in 1:20) winMenuAdd(paste("X",i, sep="/"))

generates an (incorrect) error after adding 12 menu items:

Error in winMenuAdd(menuname, NULL, NULL) : 
        unable to add menu (base menu does not exist)

More elaborate examples (e.g., adding menu items to each menu) create
other errors (e.g., "Only 16 menus are allowed"), and the original
example (at
https://stat.ethz.ch/pipermail/bioconductor/2005-November/011010.html)
crashes with SIGSEGV in rui.c:1389. I think the basic problem is that
there is a hard-coded limit of 16 menus. The limit is reached in
Bioconductor, as packages add vignettes.

R version 2.2.0, 2005-11-21, i386-pc-mingw32 

attached base packages:
[1] "methods"   "stats"     "graphics"  "grDevices" "utils"     "datasets" 
[7] "base"     


-- 
Martin Morgan



[Rd] winMenuAdd
Martin Morgan