From bolker at ufl.edu  Mon Feb 15 04:56:41 2010
From: bolker at ufl.edu (Ben Bolker)
Date: Mon, 15 Feb 2010 03:56:41 +0000 (UTC)
Subject: [Rd] Feature Request: Multiline Comments
References: <1e7471d51002140811w6cf02fd4x591a58aa13101ce9@mail.gmail.com>
Message-ID: <loom.20100215T045430-180@post.gmane.org>

Saptarshi Guha <saptarshi.guha <at> gmail.com> writes:

> 
> Hello,
> Is it possible to extend the R lexer/parser to include multiline comments like
> /*
> acomment
> 
> */
> ?
> This way I can integrate emacs org-mode with my R code, so that I can
> have a table of contents,
> section folding, html-output of source etc.
> 

  This comes up from time to time, and the typical answer is "no,
it's not that easy, block-commenting and -uncommenting is easy in
any code editor (including Emacs). However, there are a number of
R/Emacs/ESS gurus on this list, and maybe someone will answer your
more general "is there a way to integrate org-mode with my R code"
question ...

http://finzi.psych.upenn.edu/R/Rhelp02/archive/91555.html
> e.g
> /*
> * Display Code
> */
> #+BEGIN_SRC R
> 
> foo <- function(...){
> stuff
> }
> 
> #+end_src
> 
> and so on .
> 
> Thanks
> Saptarshi
> 
>



[Rd] Feature Request: Multiline Comments
Ben Bolker