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

Thanks

Tengfei

-- 
Tengfei Yin
MCDB PhD student
1620 Howe Hall, 2274,
Iowa State University
Ames, IA,50011-2274
Homepage: www.tengfei.name

	[[alternative HTML version deleted]]

