Mac,R和OS X el Capitan上的Emacs [英] Emacs on Mac, R, and OS X el Capitan
本文介绍了Mac,R和OS X el Capitan上的Emacs的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
这是我做的,它解决了这个问题。
- 重新安装R(撰写本文时的最新版本为3.2.4)
- include(setq exec-path(cons/ usr / local / binexec-path))。
/ usr / local / bin是命令行R软链接的位置。
在.emacs中的
当然,如果R命令是在/ usr / local / bin中找不到其他地方,您应该在步骤2中更改路径。
I use Emacs and/or Aquamacs on a Mac system to edit the R, latex, and html code. After upgrading OS X to el Capitan, R stopped working (searching for program: no such file or directory, R). I was wondering if anybody encountered the same problem and found the solution.
解决方案
This is what I did and it solved the problem.
- re-install R (the latest version at the time of writing this post is 3.2.4)
- include (setq exec-path (cons "/usr/local/bin" exec-path)) in the .emacs. /usr/local/bin is where the command line R is soft linked.
Of course if the R command is not found in /usr/local/bin but somewhere else, you should change the path in step 2.
这篇关于Mac,R和OS X el Capitan上的Emacs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文