How can I switch between R sessions in emacs-ess?

不想你离开。 提交于 2019-12-06 18:09:53

问题


I have two sessions open in Emacs-ESS: one on my desktop and one on a server using tramp. How can I tell ESS which session to use?


回答1:


Well I use

M-x ess-switch-process

all the time to switch between my (local) R sessions inside Emacs. Sections 3.2 has details.

Edit As a follow-up to aL3xa's comment, I also have these in a my dot.emacs:

(require 'uniquify)
(setq uniquify-buffer-name-style 'post-forward-angle-brackets)
; Slightly more debatable
(global-set-key (kbd "C-x C-b") 'ibuffer)

which makes the process switch much nicer. Kudos to CGWalters, another Emacs user from whom I copied this.



来源:https://stackoverflow.com/questions/4504244/how-can-i-switch-between-r-sessions-in-emacs-ess

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!