on-internet
← Community

Is there a tool to auto-format R code for me?

Stack Overflow ·

Is there any tool (editor, script, whatever...) available that can automatically reformat R code? It does not need to be customizable but it must be able to recognize statements separated by either semicolons or newlines since this code has both. If it can put all statements on a separate line, consistently indent code blocks and consistently place braces I will be very happy.

Comments

Sign in or sign up to comment and upvote.

No comments yet.