LeBauer:Software/emacs: Difference between revisions
From OpenWetWare
Jump to navigationJump to search
Line 50: | Line 50: | ||
*C-x C-b ''evaluate entire buffer (entire open file)'' | *C-x C-b ''evaluate entire buffer (entire open file)'' | ||
for more, see this handy [http://ess.r-project.org/refcard.pdf ess reference card | for more shortcuts and tips, see this handy [http://ess.r-project.org/refcard.pdf ess reference card] |
Latest revision as of 07:41, 8 July 2010
emacs snapshot
setup
Monaco Font
wget http://jorrel.googlepages.com/Monaco_Linux.ttf sudo mkdir /usr/share/fonts/truetype/custom sudo mv Monaco_Linux.ttf /usr/share/fonts/truetype/custom/ sudo fc-cache -f -v
install color-theme for emacs
mkdir /usr/share/emacs-snapshot/site-lisp/emacs-goodies-el cd /usr/share/emacs-snapshot/site-lisp/emacs-goodies-el/ sudo wget http://shallowsky.com/dotfiles/.emacs-lisp/color-theme.el cd ~/.emacs.d/ sudo wget http://www.brockman.se/software/zenburn/zenburn.el cd /etc/emacs/ wget www.splode.com/~friedman/software/emacs-lisp/src/ssh.el
emacs speaks statistics
starting session on remote server
(note: M is the 'Alt' key, C is the 'Ctrl' key
M-x ssh # in emacs mini-buffer <server name> R # at server prompt M-x ess-remote # mini-buffer r # mini-buffer, at prompt for dialect
some ess shortcuts
- C-x C-n evaluate (run in R) this line and step to next line
- C-x C-c evaluate from here to next blank line
- C-x C-r evaluate highlighted region
- C-x C-b evaluate entire buffer (entire open file)
for more shortcuts and tips, see this handy ess reference card