https://rud.is/b/2018/04/06/adding-macos-touch-bar-support-to-rstudio/
Adding macOS Touch Bar Support to RStudio