[This article was first published on The R Task Force, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
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