Beside auto-completing functions and variables, you can also insert snippets. If the list is too long try providing more letters to narrow it down. You can navigate through the suggestion list with arrows or just hover over the item before filling in. You can adjust those settings in Global Options -> Code -> Completion, To fill in the suggested phrase you have to press either Tab or Enter, pressing Ctrl + Space with auto-completion list open will close it. Suggestion list will pop up as you type or can be accessed manually by either pressing Tab or Ctrl + Space. Even basic tricks can have a great impact after you master using them, especially when combined together. It is crucial to be aware that there are some features that can make it both easier and faster. Usually, the first thing you have to do when you start working is creating some code. Let’s now discuss how you can improve how you work in those. The two that you will be mostly jumping between frequently are Source Editor ( 1 ) and Console ( 2 ). Preset windows: Help ( 3 ), History ( 4 ), Plots ( 5 ), or Environment ( 8 ). The only pane with a different access shortcut is the terminal ( Shift+Alt+t ). By adding a Shift to the combination you can also toggle maximize pane for the one that you are switching to at the same time, very handy if you need a broader perspective.
It is achieved by pressing Ctrl (in this case also Control on Mac) and a number corresponding to the desired pane. Learning how to change focus between those utilized the most in a quick manner, and without using your pointing device, is a crucial skill for speeding up your workflow.
You can always look it up in R Studio with ⌥ Option+Shift+K (Alt+Shift+K)ĭepending on your work you will be using at least few Rstudio panes on a regular basis.
*Note: Although the gifs have both, PC on top of Mac shortcuts, I am using former in the text, if you are a Mac user most of the shortcuts fall under this dependence: Ctrl = ⌘ Command & Alt = ⌥ Option, but keep in mind that in some cases Ctrl will also be a Control key on Mac which can be confusing. I also prepared some visual incentives for you to immediately see some of them in action without the need to go into R Studio. As well I will provide information about some other tools and techniques that are useful. In this article, I would like to share with you some of my favorite productivity features of R Studio along with their respective shortcuts. How can you work faster in R Studio? Do you really want to know?