using Mac graphics in RStudio to display menus

Viewed 16

When running

switch(menu(c("List letters", "List LETTERS"),graphics=TRUE) + 1,
       cat("Nothing done\n"), letters, LETTERS)

in Rgui on MacOS a graphical menu is shown using Mac native graphics. When running this command in RStudio, X11 is used to create graphics.

How can I make RStudio use Mac native graphics for the menu?

0 Answers
Related