Why the highlight?

image
Why is the "orange" highlighted in the screenshot above?

When I replaced the "orange" with "pineapple", it wasn't highlighted?

Seems a new "feature" in RStudio about 6 or 8 months ago. Grapefruit is not a colour.

correct answer, in one of the most recent updates of RStudio the color highlighting function was introduced.
in your case "orange" is a fruit an meets a named colour.
grafik

2 Likes

Thank you so much Mattias. This is well understood

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.