Reputation: 191
I have searched unsuccessfully for a keyboard shortcut for %in%
in R using RStudio. Wondering if anyone here has figured this out? I have tried all the combinations I could think of.
Upvotes: 19
Views: 9978
Reputation: 1726
An answer years later, in case this is still of interest.
You can get this shortcut by using the addinexamples package.
devtools::install_github("rstudio/addinexamples", type = "source")
%in%
is now Ctrl + Shift + I
. You can change the shortcut by clicking on it and running the shortcut you wish.Upvotes: 10