Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
img Use + instead of ! for layer categories Sep 11, 2015
README.org Remove ess-R-object-popup from ess layer. Jan 25, 2018
config.el
packages.el Remove ess-R-object-popup from ess layer. Jan 25, 2018

README.org

ESS (R) layer

img/r.jpg

Table of Contents

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add ess to the existing dotspacemacs-configuration-layers list in this file.

Key Bindings

Inferior REPL process

Send code to inferior process with these commands:

Key BindingDescription
SPC m c csend knitr/sweave chunk and keep buffer focused
SPC m c Csend knitr/sweave chunk and switch to REPL in insert mode
SPC m c dsend knitr/sweave chunk and step to next chunk
SPC m c mmark knitr/sweave chunk around point
SPC m c nnext knitr/sweave chunk
SPC m c Nprevious knitr/sweave chunk
SPC m s bsend buffer and keep code buffer focused
SPC m s Bsend buffer and switch to REPL in insert mode
SPC m s dsend region or line and step (debug)
SPC m s Dsend function or paragraph and step (debug)
SPC m s istart an inferior REPL process
SPC m s lsend line and keep code buffer focused
SPC m s Lsend line and switch to REPL in insert mode
SPC m s rsend region and keep code buffer focused
SPC m s Rsend region and switch to REPL in insert mode
SPC m s tsend thing at point (function) and keep code buffer focused
SPC m s Tsend thing at point (function) and switch to REPL in insert mode
CTRL+jnext item in REPL history
CTRL+kprevious item in REPL history

Helpers

Helpers for inspecting objects at point are available in R buffers only.

Key BindingDescription
SPC m h dview data under point using [ess-R-data-view][ess-R-data-view]
SPC m h tview table using [ess-R-data-view][ess-R-data-view]

Options

ess-smart-equals is disabled by default. In order to enable it, set in your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '((ess :variables
                                                       ess-enable-smart-equals t)))

To turn off the automatic replacement of underscores by <-, add the following hook:

(add-hook 'ess-mode-hook
          (lambda ()
            (ess-toggle-underscore nil)))
You can’t perform that action at this time.