Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经安装了 R-2.9.1,并且正在使用 Emacs+ESS。但是,当我启动 R 进程时,Emacs 使用的 R 版本是 2.6。我想也许 Emacs 从一个奇怪的起始目录运行 R。但是,如果我选择我的主目录,ESS 仍会启动 R 2.6。(在终端运行 R 会正确调出 2.9.1 版本。)
如何添加新的 ESS 进程,或更改当前 R 进程的属性,以便可以运行更新版本的 R?
尝试将以下内容添加到您的 ~/.emacs 文件中:
(setq inferior-R-program-name "c:/path/to/Rterm.exe")
并重新启动 emacs。