.Rhistory and Rinit.el
Andreas Quandt
a.quandt at web.de
Tue Aug 24 18:03:53 CEST 2004
>I missed them, but could you please summarize? Others might find them
>useful as well.
Of course I can do it but I finish my configuration not yet.
1) I used the XEmacs-installer which load all needed packages form internet.
But I got not the newest versions, so I must updated them. The problem is that I could not do it by XEmacs themselve. So I used the XEmacs-installer for it.
2) After the update ESS (5.2.2) looks very different to the older one (5.1.21). The R buffer was on top and not on bottom. In the top window was the *scratch* loaded and XEmacs did not accept to load an other file in the top window.
I solve this problem through changing following lines in Rinit.el/init.el:
(setq win2 (selected-window)) ; change 1 to 2 by myself, because win1 bottom
(setq win1 (split-window)) ; change 2 to 1 by myself, because win2 top
to change the windows and
(defconst dedicated-R-window nil) ; t = dedicated window
to allow the loading of R-files in the *scratch* window.
3) I took following lines in the Rinit.el /init.el file:
(line-number-mode 1)
(column-number-mode 1)
(custom-set-variables
'(paren-mode (quote sexp) nil (paren)));; option for parenthesis highlighting
after line: ;;; configuration options:
The other recommended line of mr. heidberger
(transient-mark-mode 1) and (show-paren-mode 1) do not work for my configuration (error message: Symbol's function definition is void: ...). So I could not use them.
4) To realize line breaks I use the following line
(add-hook 'ess-mode-hook 'turn-on-auto-fill)
after these line: (add-hook 'ess-mode-hook 'R-menu)
In this configuration works the linebreak only in the window for R functions not in the Rterm-buffer.
One hint more: XEmacs at Windows create the init.el file only if you use Option > Edit Ini file. So that was the reason why I could found it before. Furthermore in my opinion you do not have to write similar lines like (load "/PATH/ess-site") in your (R)init.el if you use the Xemacs-installer. Because there is following line in (R)init.el
(require 'ess-site) ; load ess
As I try to added some "ess-site" lines I got only error messages...
But next question:
Unfortunately now there are some empty buttons ("open") in the button menu if I am in the buffer for R files which has some different task like "start R process", "start S process", "Eval line step" and so on. So my question: Where I can get the .xpm files for that buttons?
So if somebody knows a possibility to help I'll be very happy.
More information about the ESS-help
mailing list