gedit in this thread pretty much raised my interest as a light weight editor / IDE for R. I was happy to see that there is a .dmg for Mac OS X, but I still wonder where / how to install plugins, in particular this one.
Is it even possible?
gedit in this thread pretty much raised my interest as a light weight editor / IDE for R. I was happy to see that there is a .dmg for Mac OS X, but I still wonder where / how to install plugins, in particular this one.
Is it even possible?
You can also install gedit using macports (which builds everything from source), or using fink (with pre-built binaries). I don't use gedit much, but I suppose that if the add-on you want comes as a source-code tarball, then one of these options may be more easily extendable/configurable than if gedit is installed with a .dmg.
I'm trying to do this too without much luck. I have got a bit further though. The error message when trying to load the R integration is as follows
Traceback (most recent call last):
File "/Applications/gedit.app/Contents/Resources/lib/gedit-2/plugins/RCtrl.py", line 49, in <module>
import vte
ImportError: No module named vte
** (gedit-bin:11508): WARNING **: Error loading plugin 'R integration'
So it looks like you need to install the python vte library on OS X somehow but I couldn't work that out.
To install Gedit plugins, you need to go into the gedit.app package:
FWIW, Gedit has some advantages (and few drawbacks) over TextMate. I'm switching over today for split panes (available through a plugin).
Just like on Linux, you can put it into ~/.gnome2/gedit/plugins (where ~ is your home directory).
Here are the commands that installed the AutoTab plugin which immediately after appeared in the Plugins section of Preferences:
mkdir -p ~/.gnome2/gedit/plugins
cp autotab.gedit-plugin autotab.py ~/.gnome2/gedit/plugins
MacPorts seems to support it:
$ port search gedit
gedit @2.26.3 (gnome, editors)
GNOME editor.
gedit-plugins @2.26.3 (gnome, editors)
Plug-ins for GEdit
Note that this is no longer an issue for Gedit 3 on Mountain Lion. Just install them exactly as you ordinarily would on a Linux distro.