The Best Rstudio Snippet Ever!

Tags : rstudio, tips

Because I was tired of typing the same thing over and over. I finally took the time to make myself a little Rstudio snippet.

To do this just go to Tools > global Option > code > edit snippet

and to add in the list these few lines :

snippet aa
${1:dataset} <- ${1:dataset} %>% ${0}

This is the Result :


About the author

Vincent Guyader

Vincent Guyader

Codeur fou, formateur et expert logiciel R


4 responses to “The Best Rstudio Snippet Ever!”

  1. Tried to add that snippet to the top of the RStudio snippets, however didn’t work. When I add it without space, no change again. Any help? Sorry for the very basic question. ithttps://uploads.disquscdn.com/images/51c09783c17ebec7feb0d65a5b5da6786b0f65378715553ea4546484d9a6314d.jpg

  2. Tried to add that snippet to the top of the RStudio snippets, however didn’t work. When I add it without space, no change again. Any help? Sorry for the very basic question. ithttps://uploads.disquscdn.com/images/51c09783c17ebec7feb0d65a5b5da6786b0f65378715553ea4546484d9a6314d.jpg

Leave a Reply

Your email address will not be published. Required fields are marked *


Also read