Align Assign: RStudio addin to align assignment operators

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.


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



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.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s