Align comments on multiple lines of R code

Viewed 167

I'm wondering if there is a way to write code in absolute positions in a Notebook R of RSTudio. For example I'd like to shift the cursor in an absolute position so that I can write the code and the comments in an orderly fashion.

media          # stampo media
n*p            # calcolo senza salvare e stampo media teorica

varianza       # stampo varianza
n*p*(1-p)      # calcolo senza salvare e stampo varianza teorica
0 Answers
Related