Wednesday, August 04, 2010

Integrating R with Geany

According to landroni, R can also be easily integrated with Geany:

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.

6 comments:

  1. It will be nice to automatically start R when sending a program to the terminal.

    ReplyDelete
  2. Should it also work in 0.2?

    ReplyDelete
  3. Note that you have to manually remove any existing r binding (at least in 0.2)

    ReplyDelete
  4. Cool. Have you tried other alternatives out there, such as Rstudio, Emacs + ESS, or Eclipse + StatET?

    ReplyDelete
  5. Where do I assign "Send selection to terminal" to a ctrl+r keybinding?

    ReplyDelete
  6. For those interested, I've posted a more elaborate version of this post on my blog:
    http://landroni.wordpress.com/2013/07/27/using-geany-for-programming-in-r/

    ReplyDelete