Hmm, interesting. My default is to always post in plain text. Methinks
the web interface to our university's gmail might be up to no good;
wouldn't be the first time.  Will have to look into that. Hope this is
better.

At any rate: Windows 10. I use both Rgui and emacs ESS. in both of
those scenarios I'd like the box to open up wide enough be default to
display the entire title; I could put in a couple line breaks if
needed.

Currently, in Rgui or Emacs/ESS, with graphics = TRUE or with my
original code, I cannot resize the ensuing dialog box.

Thanks.

--Chris Ryan


On Fri, Dec 9, 2022 at 2:36 PM Bert Gunter <bgunter.4...@gmail.com> wrote:
>
> You should use the graphics = TRUE option to make this reproducible. Also, 
> please post in plain text in future, though it made little difference here. 
> HTML can get messed up or stripped on this plain text list.
>
> What is your OS and version? Windows and Mac are entirely different. How are 
> your running R? -- in an IDE like RStudio or Emacs? --  as a script?  -- in 
> RGui?  Versions of all of these that apply?
>
> On my Mac Ventura in RStudio 2022.07.2 Build 576 using the latest Xquartz, it 
> seems fine: the title doesn't fit in the box title and is truncated, but it 
> appears beneath it in full in the box, and I can resize the box if I wish to.
>
> -- Bert
>
>
>
> On Fri, Dec 9, 2022 at 10:44 AM Christopher Ryan via R-help 
> <r-help@r-project.org> wrote:
>>
>> You can see from the code below that the title of the dialog box is too
>> long for the width of the selection box. How might I widen the box?  Thanks.
>>
>> --Chris Ryan
>>
>> counties <- c("TIOGA", "BROOME", "ONTARIO", "ONONDAGA", "WESTCHESTER")
>>
>> chosen.county <- select.list(counties, preselect = NULL, multiple = FALSE,
>> title = "Choose a single county of interest. Only  hospitals found in the
>> HERDS COVID-19 database are shown. This generally means counties containing
>> hospitals.", graphics = getOption("menu.graphics"))
>>
>>         [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to