Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows R emacs窗口_Windows_R_Emacs - Fatal编程技术网

Windows R emacs窗口

Windows R emacs窗口,windows,r,emacs,Windows,R,Emacs,我是个新手,请容忍我。我看过Paul E.Johnson网站上关于在windows平台上使用R和emacs的说明。我下载了32位和64位版本的R3.0.3以及Goulet教授的Emacs ESS编译。但是,当运行gnu emacs时,按钮栏上不会出现R图标。此外,我尝试右键单击R文件,并尝试使用runemacs.exe打开它,但不起作用。Windows拒绝将runemacs.exe显示为选项。R运行自己的作品,虽然很好。如果有帮助的话,R和Gnu emacs都存储在程序文件(而不是程序文件x86

我是个新手,请容忍我。我看过Paul E.Johnson网站上关于在windows平台上使用R和emacs的说明。我下载了32位和64位版本的R3.0.3以及Goulet教授的Emacs ESS编译。但是,当运行gnu emacs时,按钮栏上不会出现R图标。此外,我尝试右键单击R文件,并尝试使用runemacs.exe打开它,但不起作用。Windows拒绝将runemacs.exe显示为选项。R运行自己的作品,虽然很好。如果有帮助的话,R和Gnu emacs都存储在程序文件(而不是程序文件x86)中。在R文件夹中,还有R 3.0.3和R 3.0.0的子文件夹。请帮忙

您是否从Emacs开始使用ESS

M-x R
另外,您安装R的路径是什么?这可能就是问题所在,您可能需要在Emacs中编辑配置文件。例如,在
站点start.el
文件中

;; Path to R executable. Uncomment and edit as needed if R is
;; installed in such an unusual place that ESS can't find it. (And
;; then keep updating with each R update!)
;(setq-default inferior-R-program-name
;              "c:/program files/r/r-2.7.1/bin/rterm.exe")
因此,您可能希望取消对此的注释,并:

(setq-default inferior-R-program-name
              "c:/path/to/where/you/installed/r/r-3.0.3/bin/rterm.exe")
这是针对Goulet软件包的,该配置文件在网站上有提及


编辑:因为我意识到我忽略了您最初使用Goulet的软件包。

我不知道这里的问题是什么,因为我从未在windows环境中的emacs中使用R。没有明确的方法来回答问题。但是如果你是一个新手,如你所说,我强烈建议你使用RStudio而不是emacs。RStudio是R的一个IDE,它有很多功能可以帮助您在开始学习使用R时使用它。