[ESS] ess roxygen mode update the comment as template

Henning Redestig henning.red at googlemail.com
Mon Jun 20 19:31:07 CEST 2011


Hi Tengfei,

thanks for the report, ess-roxy-update-entry (C-c C-o) now handles
these in-definition comments

Best, Henning

2011/6/20 Tengfei Yin <yintengfei at gmail.com>:
> Hi Dear all
>
> I enclosed an example down below, when I use c-c c-o to update the template
> of the function, the comments are treated as arguments.
>
> ##' .. content for \description{} (no empty lines) ..
> ##'
> ##' .. content for \details{} ..
> ##' @title
> ##' @param x
> ##' @param #xsetto0##ysetto2y
> ##' @return
> ##' @author tengfei
> myfun <- function(x = 0, # x set to 0
>                  ## y set to 2
>                  y = 2){
>  x+y
> }
>
> my system
> Ubuntu 11.04 64 bit
> emacs 23.2.1
> ess 5.13
> R 2.14
>



More information about the ESS-help mailing list