Monday, August 02, 2010

Integrating R and Gedit

Here is how to integrate R and Gedit using Rgedit plugin.

6 comments:

landroni said...

I know that quite a lot out there like to use Gedit for editing R code, but personally I prefer Geany as a simple GTK R editor.

Shige said...

I like Geany too. I hope it can be integrated with R so I can edit and execute R commands from with Geany.

landroni said...

Geany can easily be used with R.

Download 0.19 (non-optional), then you need to set send_selection_unsafe=true in geany.conf and assign "Send selection to terminal" to a ctrl+r keybinding or similar.

As long as your Geany installation has support for the embedded virtual terminal emulator (VTE), you're ready to go (as far as I know, this requirement excludes Windows). Start R in the terminal, write some R code and send the line or selection with ctrl+r.

Shige said...

Cool. Thanks for the tip!

landroni said...

Most welcome. Do you think you could blog this short set of instructions, to reach a wider audience? (If you find the Geany and R combination useful, of course.)

Shige said...

Done. Thanks again.

Counter