Align Assign: RStudio addin to align assignment operators

October 7, 2016
By

(This article was first published on R-Bloggers – Protocol Vital, and kindly contributed to R-bloggers)

If you ever find yourself trying to align assignment operators for a chunk of code in RStudio, then you are in luck: Align Assign makes this as easy as a mouse-click or a keyboard-shortcut.

What?

Align Assign is an RStudio addin which does a straight, no-frills alignment of every first-occurring assignment operator within a highlighted region.

demo2

Install

Align Assign is available in a package all its own on GitHub, and can be installed using devtools::install_github("seasmith/AlignAssign"). Once installed, I recommend mapping the addin to a keyboard shortcut such as “Ctrl + Shift + Z” for convenient use.

To leave a comment for the author, please follow the link and comment on their blog: R-Bloggers – Protocol Vital.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)