[ESS] Problem with indenting and sending lines to R after updating to 13.05

Vitalie Spinu spinuvit at gmail.com
Mon Jun 3 00:18:48 CEST 2013

Dear Frank, 

What is the value of ess-dialect in the problematic buffer?

Do you use .q extension for R files? .q is associated with S+ now. To
change the file association simply put:

   (add-to-list 'auto-mode-alist '("\\.q\\'" . R-mode))

in your emacs.

 >> Frank Harrell <harrelfe at gmail.com>
 >> on Sun, 2 Jun 2013 14:42:03 +0000 wrote:

 FH> If it matters, I have defined the following in my .emacs

 FH> ; See http://blogisticreflections.wordpress.com/2009/10/01/r-object-tooltips-in-ess
 FH> (setq ess-R-object-tooltip-alist
 FH>       '((numeric    . "summary")
 FH>         (factor     . "table")
 FH>         (integer    . "summary")
 FH>         (lm         . "summary")
 FH>         (other      . "str")))

 FH> ; Allow for object-type-specific tooltips for R objects
 FH> (defun ess-R-object-tooltip ()
 FH> ...
 FH> ;; my default key map
 FH> (define-key ess-mode-map "\C-c\C-g" 'ess-R-object-tooltip)

 FH> (provide 'ess-R-object-tooltip)

There is now a built in similar functionality in ESS bound to C-c C-d
C-e and cycled with C-e. Also see
ess-R-describe-object-at-point-commands for the list of customizable
cycling commands.


More information about the ESS-help mailing list