如何在emacs-ess之间切换R会话? [英] How can I switch between R sessions in emacs-ess?

查看:154
本文介绍了如何在emacs-ess之间切换R会话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Emacs-ESS中有两个会话:一个在我的桌面上,一个在使用流浪汉的服务器上。如何告诉ESS哪个会话使用?

解决方案

我使用

  Mx ess-switch-process 

在Emacs内部的(本地)R会话之间切换。第3.2节有细节。



编辑作为aL3xa评论的后续行动,我也有一些我的dot.emacs: p>

 (需要'uniquify')
(setq uniquify-buffer-name-style'post-forward-angle-bracket)
;稍微更有争议的
(全局设置键(kbdCx Cb)'ibuffer)

这使得流程切换更好。向CGWalters致敬,另一个Emacs用户从中复制了这个用户。


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?

解决方案

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.

这篇关于如何在emacs-ess之间切换R会话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆