[Rd] org-mode (was Re: Feature Request: Multiline Comments)

Martin Morgan mtmorgan at fhcrc.org
Mon Feb 15 06:39:16 CET 2010


On 02/14/2010 08:11 AM, Saptarshi Guha wrote:
> 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.

Hi Saptarshi --

Do you know about

  http://orgmode.org/worg/org-tutorials/org-R/org-R.php

?

Martin

> 
> e.g
> /*
> * Display Code
> */
> #+BEGIN_SRC R
> 
> foo <- function(...){
> stuff
> }
> 
> #+end_src
> 
> and so on .
> 
> Thanks
> Saptarshi
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


-- 
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M1 B861
Phone: (206) 667-2793



More information about the R-devel mailing list