rstudio How to enable font ligatures in RStudio?

I still wish there's a simple button to enable it.

Wish granted! We've just added this to RStudio 1.1.

You can try the preview release here:

https://www.rstudio.com/products/rstudio/download/preview/


RStudio now have a build in option for ligatures, you do not need these dirty hack any more, cheers!


[OLD CONTENTS]

  • Close RStudio
  • Open [RStudio dir]/www/index.htm (If you are using a Linux distribution, the dir may be /usr/lib/rstudio, thanks for the comment of @CosminSaveanu)
  • Add following code between <head> and </head>:

    <style>*{text-rendering: optimizeLegibility;}</style>

  • Restart your RStudio.

dirty but works.