[R] increasing the width of dialog box generated by select.list()

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Fri Dec 9 20:36:21 CET 2022

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 using 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
> 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 using 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.

	[[alternative HTML version deleted]]

More information about the R-help mailing list