[ESS-bugs] Suggested commands for ESS

Arni Magnusson arnima at hafro.is
Sun Jun 8 13:40:46 CEST 2014


Dear ESS developers,

There are a few commands in my R hook that I think might benefit other 
users. In the attached six.el I have copied six commands that I find very 
useful:

   1. `ess-graphics-off'
   Close all graphics devices

   2. `ess-load-and-maximize'
   Load R function from dump buffer and maximize *R* window

   3. `Rd-compile-html'
   Compile Rd to HTML

   4. `Rd-compile-latex'
   Compile Rd to LaTeX

   5. `Rd-link'
   Insert \code{\link{}} and place cursor inside braces

   6. `Rd-view-html'
   Open HTML in browser, usually directly after `Rd-compile-html'

These are simple hacks that Lisp experts could write (better) themselves, 
but I think many intermediate ESS users (those who configure keybindings 
but do not write commands) will appreciate this added functionality. I 
have bound the above commands to simple keystrokes that I use a lot.

The context of these commands can be seen in 
http://www.hafro.is/~arnima/.emacs (lines 2393-2633). They are probably 
not written in the most general and robust way, and the docstrings can 
probably be rewritten to match the existing ESS style.

My hope is that the ESS developers may adopt and incorporate any of the 
suggested commands into core ESS. I would also be happy to make any 
suggested improvements - as in 'contribution accepted with revisions'.

Best regards and thanks for maintaining ESS,

Arni
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: six.el
URL: <https://stat.ethz.ch/pipermail/ess-bugs/attachments/20140608/67d3e357/attachment.pl>


More information about the ESS-bugs mailing list