Hey,
Minor issue, but as the title says sending code from an R buffer to the inferior ESS buffer results in two prompt symbols:
> > arg2 <- c(ntrt, b)
Relevant init.el:
(use-package ess
:custom
(ess-indent-with-fancy-comments nil)
(ess-nuke-trailing-whitespace-p t)
(ess-toggle-underscore nil)
(ess-toggle-S-assign nil)
(ess-disable-underscore-assign t)
(ess-eval-visibly 'nowait)
:config
(add-hook 'inferior-ess-mode-hook
#'(lambda ()
(add-to-list 'mode-line-process '(:eval (nth ess--busy-count ess-busy-strings)))))
(defun kb-run-air-on-r-save ()
"Format .R files with Air on save."
(when (string-match-p "\\.[rR]$" (or buffer-file-name ""))
(shell-command (concat "air format \"" buffer-file-name "\""))
(revert-buffer nil t t)))
(add-hook 'after-save-hook 'kb-run-air-on-r-save))