Does RStudio support any automated roxygen template creation?
In Emacs-ESS, C-x C-o
will produce an roxygen template for a function. For example, it will automagically convert this:
foo <- function(x,y) x+y
into this:
##' .. content for \description{} (no empty lines) ..
##'
##' .. content for \details{} ..
##' @title
##' @param x
##' @param y
##' @return
##' @author David
foo <- function(x,y) x+y
Does similar functionality exist within RStudio?
updates
C-c C-o C-o
(Converting @Crops comment into a full answer)
In RStudio v0.99 there is a new option under the "Code" menu for .R
files: "Insert Roxygen Skeleton". There is an image of it in RStudio's blog post about v0.99 preview.