0

It came to my attention, that some people use a proper arrow instead of the commonly used <- in their R Scripts. For example, you see such an arrow in the RStudio Talk at 4min 8sec, see attachment. What do I need to change in RStudio to use this operator? To me, it looks aesthetically more pleasing than the good old <-. Screenshot

Silvan
  • 27
  • 6
  • 2
    Its still the characters `<-` but the font use ligatures to look like one symbol. See this existing question about enabling ligatures: https://stackoverflow.com/questions/34548194/rstudio-how-to-enable-font-ligatures-in-rstudio. Choose a font that supports such characters. – MrFlick Mar 17 '21 at 23:48
  • You can use the keyboard shortcut alt-"-" to insert the assignment operator as well. – MrFlick Mar 17 '21 at 23:50
  • That is font-dependent ligature. They are still 2 characters, "<" and "-", but they are rendered by the font as if a single glyph. – Nicolás Velasquez Mar 17 '21 at 23:51

0 Answers0