Rstudio editor. Visualizing spaces at line ends

In Tools -> Global Options -> Code -> Display, check "Show whitespace characters". This will let you see spaces and newlines in the editor:

image

5 Likes