Opens profile photo
Follow
RStudio Tips
@rstudiotips
Useful features, shortcuts, and ideas for working with the RStudio IDE to develop R analyses, packages, and documents.
Seattle, WArstudio.comJoined July 2014

RStudio Tips’s Tweets

L’interface utilisateur·rice de RStudio 2022.07 est expérimentalement disponible en Français, grâce à l’aide précieuse de . Essayez avec Options -> General -> Advanced -> Experimental Features. #rstats
Embedded video
0:29
2.8K views
7
18
Need to use multiple versions of R on the same machine with the IDE? rig has you covered. #rstats
Quote Tweet
rig 0.4.1 (and 0.4.0) is out! Install and manage multiple #rstats versions on macOS, Windows or Linux. Many exciting new features, including a macOS menu bar app See github.com/r-lib/rig/rele
Image
1
14
44
Snorkel by is our addin of the day because (a) it is extremely useful for code documentation, and (b) it is named "snorkel", which is *almost* as much fun to say as "smock". #rstats
Quote Tweet
I'm pretty clueless at writing roxygen tags in my functions. Thanks to @mattdray, maybe I don't have to. Check it : github.com/matt-dray/snor
Show this thread
Embedded video
GIF
1
7
48

Topics to follow

Sign up to get Tweets about the Topics you follow in your Home timeline.

Carousel

Need to free some memory? The Environment pane has a secret grid-view mode: click the "List" button in its top right corner and select "Grid"; it turns the entire environment listing into a sortable, selectable table. #rstats
Image
4
51
240
yes, i still remember when curated for in 2018 😎 yes, this #RStats tip to automatically end comments at 80 characters has stuck with me 🤩 yes, i have converted this to a keyboard shortcut via 's {shrtcts} 👩‍💻🙌
R script where comment lines automatically dash to 80 characters using a keyboard shortcut
GIF
Quote Tweet
Embedded video
GIF
I also like the dashes at the end of my comments to hit the 80-character mark, so I wrote a little addin to help me do that 📦github.com/mine-cetinkaya 📖Learn how to build your own addins at rstudio.github.io/rstudioaddins
Show this thread
3
8
57
Show this thread
Set this option to make Ctrl + Shift + M (Cmd + Shift + M on Mac) insert R 4.1's new pipe operator, |>. (Bonus tip: If you use a ligature font, the new pipe renders like a cool triangle! ▷) #rstats
Quote Tweet
And yes, I'm loving the base R pipe.
Show this thread
Screenshot of RStudio Code Editing options with a red arrow pointing to the "use native pipe operator" checkbox
29
126
ICYMI, rstudio::conf is back!! Folks, this conference is going to be amazing ... we can't wait to see you all there. #rstats
Quote Tweet
rstudio::conf(2022) is coming July 25-28 to National Harbor, DC! More soon on our amazing keynote speakers, tutorials, diversity scholarship, & what we’ll be doing to keep y’all safe. Please save the date & read on if you’re interested in submitting a talk rstudio.com/blog/save-the-
Embedded video
0:25
28.9K views
1
6
Thank you for all these R Markdown tips and tricks! We received so many responses we needed to make a series. Check out post #1 on how your fellow #rstats users work in the RStudio IDE! rstudio.com/blog/r-markdow GIF: ⌘+⌥+I / Win+Alt+I splits a code chunk.
Embedded video
GIF
Quote Tweet
#rstats friends: what are your favorite “lesser known” tips & tricks for using R Markdown? e.g. any feature(s) (big or small) you’ve picked up at some point along your #rmarkdown journey that you now use on a regular basis and wish you knew earlier? 👀👂
4
81
449
Restarting R is now a lot more ergonomic on macOS! This is a new feature in 2021.09, available today: rstudio.com/products/rstud #rstats
Quote Tweet
I gotta say, I LOVE that in the latest version of @RStudio IDE the 'Restart R' command was changed from Shift-Cmd-F10 to Shift-Cmd-0 -- so much easier to do on a mac! #rstats how it started: how it's going:
Keyboard showing Command, Function, Shift, and F10 keys needed for the shortcut to restart R previously
Keyboard showing the Command Shift Zero keys needed for the shortcut to restart R now
1
9
37
Excellent 🧵 on nifty keyboard shortcuts to cut down on 🐁 usage 👇 #Rstats
Quote Tweet
I want to learn more keyboard commands to reduce my mouse use, especially when coding in RStudio. I already love ctrl-A and ctrl-E for jumping to the start and end of a line. What are others can't you live without? (both generic terminal and RStudio-specific welcome)
6
31