Not sure why but in some of my R Scripts a coloured box is appearing over random words within ""
If I just write the word blue then it appears normally. Only gets this box over it when in quotation marks.
In a different R script it is happening with the "peru"
Dont believe I have changed any settings. Seems to persist even if I clear the global environment.
CodePudding user response:
blue
and peru
are both colors as you can verify in
plot(1:3, col = "peru", pch = 15, type = "b", lwd = 3)
So RStudio is just helping you by displaying the color refrerenced in the code