RStudio Tips
@rstudiotips
Useful features, shortcuts, and ideas for working with the RStudio IDE to develop R analyses, packages, and documents.
RStudio Tips’s Tweets
3
3
10
Show this thread
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
0:29
2.8K views
7
18
PSA: If you're using with R 4.2 on Windows, please update to the just-released 2022.02.3. There's an issue with R 4.2 and older releases that can empty your R scripts.
Download update -> rstudio.com/products/rstud
More details -> community.rstudio.com/t/rstudio-2022
#rstats
9
140
212
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
1
14
44
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
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
4
51
240
We tweet tip top RStudio IDE tips tweets, but for tip top tidyverse and other tool tweets, you should totally follow , a "glimpse()" into the universe of tools.
7
24
Did you know that the RStudio IDE has a visual markdown editor?
📈 Embed content with shortcuts or just drag-and-drop (h/t )
👁️ Edit & see changes in real-time
✏️ Get support for technical writing
Here are some features that you should know: rstudio.com/blog/exploring
0:33
16K views
2
92
318
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} 👩💻🙌
GIF
read image description
ALT
Quote Tweet
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
read image description
ALT
29
126
🤩 you can View() functions too.
8
32
298
Ever wanted an *editable* data view in ? We didn't make one, but did. Add-in here: github.com/DillonHammill/
#rstats
GIF
22
400
1,541
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-
0:25
28.9K views
1
6
Your favorite IDE for R does #python, too. Syntax, autocompletion, environment/variable viewer, plots & more good stuff.
rstudio.com/blog/three-way
#rstats
GIF
5
35
177
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.
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
Want to open that file location you have in a text string in ? This just made its way into my .Rprofile (which I opened with the same)
.open <- function(file) {
rstudioapi::navigateToFile(file)
}
Too often I've built a file.path() and wanted to then open it.
1
7
57
Show this thread
Our add-in of the day is Esquisse: github.com/dreamRs/esquis. It's kind of a mash-up of an interactive data explorer and ggplot2 builder: quickly slice your data into beautiful plots *and* create reproducible code for them at the same time.
#rstats
2
42
172
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:
read image description
ALT
read image description
ALT
1
9
37
It's finally heeere! 2021.09.0. Job replay, retina quality plots, and lots of other goodies.
blog.rstudio.com/2021/09/29/rst
#rstats
1
20
85
6
73
305
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
My The
fall Delta
plans: variant:
6
17
282
Top 5 tips from the folks at (including their best shortcuts & a roundup of our Go To commands):
appsilon.com/top-5-tips-for
#rstats
9
29
Creating tables in #rstats markdown always felt cumbersome. Until now, as I have tried the RStudio Visual Editor for the first time. The '/' search function makes the experience an absolute joy! Learn more here: blog.rstudio.com/2020/09/30/rst
GIF
7
104
458
Show this thread
Quick, what's inside that data frame? Hold down Ctrl (Cmd on macOS) and click on the name of an object in the editor to view its contents. #rstats
11
66
345
OMG, you can set plot antialiasing as a global option! Why did I only learn this now!? #rstats
Cairo backend + subpixel antialiasing:
3
10
96
11
65
882
New update live today: R 4.1 & native pipe |> support, Apple Silicon support, Python upgrades, memory usage monitoring, command palette improvements & more.
blog.rstudio.com/2021/06/09/rst
#rstats
2
48
143
did you know.... if you have a file of terminal commands in RStudio.... and change the file type to "Shell" .... control enter will send the lines to the terminal instead of to the R console
5
18
169
Show this thread
My new favorite word processor is the Visual Editor for R Markdown. Among many other features, automatic citation lookup by copy-pasting a DOI (citing here 's article on {sf} in my book) is a breeze. #rstats
GIF
3
67
384
R 4.1 was released today! If you're updating, you'll want the preview release of too: it adds support for R 4.1's |> operator, lambda syntax, graphics engine, and other goodies.
rstudio.com/products/rstud
#rstats
3
72
172
























