1. Alt + F2
> system-config-printer
2. Change "Make and Model" to Generic PCL 5e Printer Foomatic/hpijs-pcl5e (recommended)
Original source: here.
To install, extract the RgeditXX.tar.bz2 archive somewhere and copy the contents of the resulting folder into to your ~/.gnome2/gedit/plugins folder (please note the "." dot; create this folder if necessary). Now, your ~/.gnome2/gedit/plugins folder should also contain:
RCtrl <- this is a folder
RCtrl.gedit-plugin
RCtrl.preferences
RCtrl.py ReadMe.txt <- this ReadMe.txt file
Then activate the "R Integration" plug-in from gedit.