install problem on slackware/3

S.McClatchie s.mcclatchie at niwa.cri.nz
Fri Jul 26 03:37:16 CEST 2002


> System info:
> R Version 1.5.1  Linux slackware
> ESS v. 5.1.21 using emacs ver. 21.2.1

Colleagues

Here is my .emacs file
------------------------------------

(load  "/usr/local/share/ess-5.1.21/lisp/ess-site")
;; changed smcc 25/7

; ESS and customization:
(show-paren-mode 1)                   ; parentheses highlighting
;;(setenv "SHELL" "C:\\bin\\bash")

; latest functionality in color coding
(setq ess-sas-run-make-regexp nil)
(require 'ess-site "usr/local/share/ess-5.1.21/lisp/ess-site")
;; changed smcc 25/7

(setq-default inferior-R-program-name "/usr/local/lib/R/bin/R")
 ;; changed smcc 25/7

;(setq ess-ask-for-ess-directory nil)
(setq ess-ask-for-ess-directory t) ; smcc

(setq ess-execute-in-process-buffer t)
(make-local-variable 'comment-indent-function)
(setq-default comment-indent-function 'ess-comment-indent)

; added from http://stat.ethz.ch/ESS/ess_4.html#SEC31
(setq ess-source-directory
   (lambda ()
      (concat ess-directory "R-src/")))
; end addition

 (setq ess-delete-dump-files) ; smcc

; function template code
(add-hook 'ess-mode-hook 'ess-add-MM-keys)
(add-hook 'inferior-ess-mode-hook 'ess-add-MM-keys)
; Default function template
(setq ess-insert-function-templates t)

; Window size:
(set-frame-size (selected-frame) 90 45)

; Always auto-fill:
(setq-default auto-fill-function 'do-auto-fill)
(setq-default fill-column 79)

; Macros and set-keys:
(global-set-key "\C-u" 'query-replace-regexp)
(load "hscroll")
(defun flat (tabw) "Turns off line-wrap; prefix sets tab width."
  (interactive "p")
  (turn-on-hscroll) ; (setq truncate-lines 1)
  (if (> tabw 1) (setq tab-width tabw))
  (redraw-display))
(global-set-key "\C-c\C-f" 'flat)

; Fonts (uncomment the next line for a bolder font):
 (set-default-font
"-adobe-courier-bold-r-normal--*-140-*-*-m-*-iso8859-1")
(global-font-lock-mode t)
(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste 
it!
  ;; Your init file should contain only one such instance.
 '(case-fold-search t)
 '(current-language-environment "ASCII")
 '(global-font-lock-mode t nil (font-lock))
 '(save-place t nil (saveplace))
 '(show-paren-mode t nil (paren))
 '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify)))
 '(transient-mark-mode t)
 '(uniquify-buffer-name-style (quote forward) nil (uniquify)))

(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 )

; new frame setup
; (setq default-frame-alist '((width . 80) (height . 55) (menu-bar-lines . 1) 
(set-default-font"-adobe-courier-bold-r-normal--*-140-*-*-m-*-iso8859-
1")))

; deal with kill buffer commands
(defun h-kill-buffer-query-function ()
  (or (not (get-buffer-process (buffer-name)))
      (yes-or-no-p (format "Kill process associated with %s? "
      (buffer-name)))))

(add-hook 'kill-buffer-query-functions
   'h-kill-buffer-query-function)

 split screen and run R in one window with output in other window
(fset 'run-r "\C-x2\M-xR\C-m")
(global-set-key "\M-r" 'run-r)
;;above 3 uncommented smcc 25/04


-----------------------------------


Sam McClatchie, 
Research scientist (fisheries acoustics))))))))))
http://www.smcc.150m.com/
NIWA (National Institute of Water & Atmospheric Research Ltd)
Postal address: PO Box 14 901, Kilbirnie, Wellington, New Zealand. 
Street address: 301 Evans Bay Parade, Greta Point, 6003 Wellington, New Zealand.
phone 64-04-386-0300, FAX: 64-4-386 0574. 
                   /\
      ...>><xX(°> // \\
                 /// \\\   
                //// \\\\
               ///  <°)Xx><<
              /////  \\\\\\
        ><(((°>   
  >><(((°>   ...>><xX(°>O<°)Xx><<

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list