From mtmorgan at fhcrc.org  Mon Feb 15 06:39:16 2010
From: mtmorgan at fhcrc.org (Martin Morgan)
Date: Sun, 14 Feb 2010 21:39:16 -0800
Subject: [Rd] org-mode (was Re:  Feature Request: Multiline Comments)
In-Reply-To: <1e7471d51002140811w6cf02fd4x591a58aa13101ce9@mail.gmail.com>
References: <1e7471d51002140811w6cf02fd4x591a58aa13101ce9@mail.gmail.com>
Message-ID: <4B78DE04.4000604@fhcrc.org>

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



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