![]() ![]() Next, we’ll use fuzzy matching to only enter instd to narrow our selection further: First, we’ll select the installed.packages() function by typing part of the function name, and then use arrows to make the selection. Let’s take a look at how these code completion methods work. You do not need to enter all of the letters as long as your entry matches the order of the string. You can toggle through the list using the up or down arrows and hit return/Enter to make your selection.Īlternatively, you can utilize a very cool feature called fuzzy matching, which allows you to narrow your search options by entering letters unique to the item you are matching. Save Time with Code CompletionĪfter you begin typing, a suggestion window will pop up with matching names of functions, objects, and snippets. There are many more useful shortcuts available, but by mastering the shortcuts above, you’ll be on your way to becoming an RStudio power user!Īnother great resource for RStudio shortcuts is the official RStudio cheat sheet available here. Trying to remember a command you submitted earlier? Search the command history from the Console with Command + on a Mac or Control + on Linux and Windows.Comment or uncomment lines with Command + Shift + C on a Mac or Control + Shift + C on Linux and Windows.Restart the current R session and start fresh with Command + Shift + F10 on a Mac or Control + Shift + F10 on Linux and Windows.Run all lines of code with Command + A + Enter on a Mac or Control + A + Enter on Linux and Windows.Run the current line of code with Command + Enter on a Mac or Control + Enter on Linux and Windows. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |