Reputation: 121
Is there a way to make RStudio use a length of 100 or 120 per row when reformatting code? So far I can only make it show me where lines end. Is there - using Ubuntu here - some config file?
Upvotes: 1
Views: 1262
Reputation: 84
Yes, there is an Addin/package that does exactly that. It's called formatR
. You can see it in action here on the right.
Edit: In addition you can take a look at this answer for a more in depth overview.
Upvotes: 1