From saptarshi.guha at gmail.com  Mon Feb 15 19:26:04 2010
From: saptarshi.guha at gmail.com (Saptarshi Guha)
Date: Mon, 15 Feb 2010 13:26:04 -0500
Subject: [Rd] org-mode (was Re: Feature Request: Multiline Comments)
In-Reply-To: <4B78E344.9000301@ccbr.umn.edu>
References: <1e7471d51002140811w6cf02fd4x591a58aa13101ce9@mail.gmail.com> 
	<4B78DE04.4000604@fhcrc.org> <4B78E344.9000301@ccbr.umn.edu>
Message-ID: <1e7471d51002151026h60c8bef2t68e887fc0fd16833@mail.gmail.com>

Aah, yes I have read these. But my use is a bit different. I do not want R
output to be collected.  I wanted a nice IDE for R in emacs. So using
multiline comments and org-mode, i can have collapsible sections and
bookmarks in the source
.  I already use narrow-region to restrict views, but
its nice to open an R source file with a TOC, click on an entry and start
editing the function.

Thanks
saptarshi

On Mon, Feb 15, 2010 at 1:01 AM, Erik Iverson <eriki at ccbr.umn.edu> wrote:
> Martin Morgan wrote:
>>
>> 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
>>
>> ?
>>
>
> And also the very excellent org-babel, which can be used with R!
>
> http://orgmode.org/worg/org-contrib/babel/index.php
>



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