Many IDEs show changes to a file in the editor itself. Commonly (Atom, VS code, Pycharm) this is in the sidebar, showing the lines of a file that have been changed.
For instance (VS code):
Addition to file signified by green section in the sidebar
Is it possible to enable this feature or something equivalent in RStudio?