Fails with Gedit>=3.8 (Python3 support)

  • diplab

    diplab - 2013-05-04

    RGedit fails to load with Gedit>=3.8 since it only accepts python3 plugins.
    Will RGedit be ported? I have managed to load the plugin by replacing print
    ... with print(...) and fixing some indentations. However user preferences
    are still broken.

  • Dan Dediu

    Dan Dediu - 2013-10-29


    a little late but I just released the port to Python 3 -- could you please try to test it?


  • diplab

    diplab - 2013-12-12


    i have ported it myself some time ago and have been using it since then:

  • mdowle

    mdowle - 2014-08-12


    The latest version (rgedit- works great for me with gedit v3.8.3 on Linux Mint Debian Edition.

    A little more info in case it helps others finding this ...

    Initially I got a cryptic 'failed to load' message when activating the plugin from gedit->preferences but after hunting around I found that this solved it :

    sudo apt-get install gir1.2-gtksource-3.0


    The Debian page on the Rgedit homepage points to a repo but that appears to be unresponsive currently. I then made the mistake of trying "sudo apt-get install gedit-r-plugin" which downloads and installs the old version (0.7 iirc) that doesn't work with the Python3 version of gedit. So currently it seems necessary to download the latest .tar.bz2 file and unpack it to the right place.

    Easy instructions are :

    1. Download the .tar.bz2 to ~/Downloads. [ Usual browser default. ]
    2. Close gedit.
    3. cd ~/.local/share/gedit/plugins
      If that doesn't exist (e.g. if you've just installed gedit) then create it :
      mkdir ~/.local/share/gedit/plugins
      cd ~/.local/share/gedit/plugins
    4. tar xvf ~/Downloads/rgedit-
    5. sudo apt-get install gir1.2-gtksource-3.0
    6. Start gedit
    7. Edit->Preferences->Plugins and Rgedit is called "R integration". Tick it.

    How to get the Debian/Ubuntu repos updated with latest version and the gir1.2-gtksource-3.0 dependency?


    PS: and I just submitted a review here :

    Last edit: mdowle 2014-08-12
    • Dan Dediu

      Dan Dediu - 2014-09-24

      Hi Matt,

      sorry for being so slow! Thanks a lot for the info, I'll test it and update the website. I can't do much about the Debian package as I never packaged anything for them (but I could give it a try).



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks