Highlighting has disappeared - RStudio IDE 1.2.1335 Update

I've found that code highlighting has disappeared. No distinction between R code and Rmakdown text. It was fine a few days ago.

Very disconcerting!

1 Like

Previously, the R code sections would be clearly distinguished from the rest of the code. Also the cursor won't select a word or clearly identify a selected bunch of text (although copy/paste seems to work). This is the case with Version 1.2.1335 ...

It's not just the Source pane. The Console pane is monochrome, too:

image

Does the issue go away if you try changing the editor theme and then changing back afterwards?

1 Like

I've had exactly the same issue with the 1.2.1335 and changing the theme did work.

No change when I switch themes. :frowning:

That's unexpected!

Can you try resetting RStudio's state? https://support.rstudio.com/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State

2 Likes

That fixes it! Thanks, Kevin!

A big reminder of how much I depend on RStudio's subtle cues to think about R code!

How about Rstudio-server?

A similar mechanism is available for resetting state with RStudio Server: https://support.rstudio.com/hc/en-us/articles/218730228-Resetting-a-user-s-state-on-RStudio-Server

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.