[ESS] Viewing data frames
basille at ase-research.org
Mon Feb 28 14:34:23 CET 2011
I have to admit I wasn't sure about the difference with the function
Stephen presented... As an addition, I have this in my .emacs file:
(defun my-ess-post-run-hook ()
(local-set-key "\C-c w" 'ess-execute-screen-options))
(add-hook 'ess-post-run-hook 'my-ess-post-run-hook)
which is supposed to run ess-execute-screen-options when I start a new
R. Note that this doesn't work if a .RData is loaded, which can be
problematic when working on several computers: here you have to use 'C-c
w' to do it by hand.
Le 28/02/2011 04:19, Stephen Eglen a écrit :
> Martin Maechler<maechler at stat.math.ethz.ch> wrote:
>>>>>>> Stephen Eglen<S.J.Eglen at damtp.cam.ac.uk>
>>>>>>> on Sun, 27 Feb 2011 20:27:16 +0000 writes:
>> >> I think that'd be quite helpful -- not for emacs to
>> >> resize R's width automagically (though some might like an
>> >> option for that), but to have a function that tells R to
>> >> set options(width=(window-width)) or some such that we
>> >> can bind to a key-combo.
>> What's wrong with using
>> which I have had bound to "C-c w" for ages ?
> hi Martin,
> Thanks for this -- there's nothing wrong with your defun, I simply
> didn't know about it!!!
> Could it be documented in the info nodes?
> Thanks, Stephen
> ESS-help at r-project.org mailing list
Mathieu Basille, Post-Doc
Laboratoire d'Écologie Comportementale et de Conservation de la Faune
+ Centre d'Étude de la Forêt
Département de Biologie
Université Laval, Québec
``If you can't win by reason, go for volume.''
Calvin, by Bill Watterson.
More information about the ESS-help