[R] GUI /IDE

Philippe Grosjean phgrosjean at sciviews.org
Wed Mar 31 06:25:24 CEST 2010


Not really *named* regions, but an easy way to run portions of code 
quickly in SciViews-K (http://www.sciviews.org/SciViews-K):
* R -> Run marked block (or Ctrl+Shift+M) runs code between two bookmarks,
* R -> Run function (or Ctrl+Shift+F) runs the code of the whole current 
function (you may prefer R -> Source function in this particular case),
* R -> Run paragraph (or Ctrl+Shift+H) runs code in the current 
paragraph ("paragraphs" are consecutives lines or R code separated from 
other "paragraphs" by empty lines).

I will think at your proposal to include it in SciViews... It is very 
interesting!

As a bonus, with the 'TODO' plugin or a derived 'Named regions' plugin, 
named regions of the current file/all opened files/current project could 
be listed automatically. From this list, a click runs the region and/or 
move to its code.

As a second bonus: rather easy to activate code folding on named regions 
too.

This is put on my "to do" list!

Best,

Philippe
..............................................<°}))><........
  ) ) ) ) )
( ( ( ( (    Prof. Philippe Grosjean
  ) ) ) ) )
( ( ( ( (    Numerical Ecology of Aquatic Systems
  ) ) ) ) )   Mons University, Belgium
( ( ( ( (
..............................................................

On 30/03/10 23:41, Peter wrote:
> Emacs allows you run regions. Not sure about naming them....
>
> Peter
>
> ManInMoon wrote:
>> Does anyone know of a gui for R that has "regions" i.e areas of code in a
>> script that can be named and hopefully run as a section?
>>
>> @region Init
>> library(whatever)
>> myprint<-function(...){print(...)}
>> @endregion
>>
>>
>>
>>
>>
>>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>



More information about the R-help mailing list