[ESS] Automating launch of R session and splitting into 2 buffers

Frank E Harrell Jr f.harrell at vanderbilt.edu
Sun Sep 7 18:47:06 CEST 2008


Sebastian P. Luque wrote:
> On Sun, 07 Sep 2008 11:06:09 -0500,
> Frank E Harrell Jr <f.harrell at vanderbilt.edu> wrote:
> 
>> I am looking for a good way to specify something in .emacs for Emacs
>> such that when I have a .r source file opened, hitting Esc R will
>> split the window into two buffers and start the R process in the lower
>> buffer.  I find myself always doing Cntl-X-2 and then having to put
>> foo.r back into the upper buffer.
> 
> [...]
> 
> If I'm following you, I think all you need is to set
> inferior-ess-same-window to nil.  Does that do what you want?
> 
> 
> Cheers,
> 
 > Seb

Thanks that worked beautifully!

Is there a way to have help files automatically opened in a new frame 
when I issue ?functionname in the R session window (and hopefully to 
keep using that frame for later instances of ?functionname)?

Thanks Sebastian,
Frank

-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University




More information about the ESS-help mailing list