king64 下载了ESS(当然也下载安装了EMACS),但不会配置! 比如下面安装说明中的第二条 2. Add the line (require ’ess-site) to ‘~/.emacs’ and restart Emacs. 就不明白是什么意思,请明白者给解释一下。 是加“(require ’ess-site)”吗?加到哪个文件里? 其全文如下: 2.2 Microsoft Windows installation For Microsoft Windows installation, please follow the next steps. Retrieve the latest zip file (‘ess-VERSION.zip’) from ESS downloads area. GNU Emacs Simple Instructions: for recent versions of Emacs (22.x or higher) and ESS, the installation process is simple. 1. Extract all the files from ‘ess-VERSION.zip’ (by double clicking on it and selecting “Extract all files” which launches the Folders Extraction Wizard) into the ‘site-lisp’ directory that exists for packages like ESS. If GNU Emacs was installed in the default location, then this directory can be found somewhere like ‘C:\Program Files\GNU Emacs\emacs-22.x\site-lisp’. 2. Add the line (require ’ess-site) to ‘~/.emacs’ and restart Emacs. 3. If you see a buffer named ‘*ESS*’, then the simple instructions were most likely successful. If not, then read further.
pengchy 我用的是Xemacs+ess,感觉还可以,下面是配置步骤: 主要参考这个:http://socserv.mcmaster.ca/jfox/Books/Companion/ESS/ 1.下载: Xemacs: http://ftp.xemacs.org/xemacs/binaries/win32/InnoSetup/XEmacs_Setup_21.4.21.exe ess: http://lib.stat.cmu.edu/general/ESS/ess-5.4.zip ess的配置文件:http://socserv.mcmaster.ca/jfox/Books/Companion/ESS/init.el (这个直接保存就行了,文件名还是init.el) 2.安装 解压然后双击就行了:Xemacs 解压ess-5.4.zip 到path\to\your\XEmacs\site-packages目录下 然后把init.el文件拷贝到这个目录下C:\Documents and Settings\Administrator\.xemacs,注意,.xemacs是以“."起始的,如果没有可以通过DOS终端mkdir .xemacs来创建。 如果你的R的bin目录在path路径里,那么什么也不用做,直接启动xemacs试试。 是不是惊奇的发现已经可以使用了?!
bjt [quote]引用第7楼cloud_wei于2009-12-10 17:43发表的 回 2楼(pengchy) 的帖子 : 里面貌似敲不了中文,怎么解决啊? [/quote] 中文问题解决的话,就太完美了!
enthumelon 10楼可以是因为您用的是Linux吧,我看见scim了...而且您用的是emacs. Xemacs直到最近才开始支持中文输入~不过编码问题还是很讨厌, utf-8没有问题,GB系列的编码问题就很多。所以还是找个最新版本的使用。 或者直接使用emacs-win32版本, 设置系统变量: path 把R的bin目录路径加进去 HOME 随便设一个路径,在设置的路径下用cmd新建.emacs文件,加入ess的设置即可。 但是,ESS也并不是很好用--除非你承认你能很快掌握emacs...