ESS Can not Invoke SAS on NT

A.J. Rossini rossini at blindglobe.net
Wed Feb 6 23:05:20 CET 2002


And this only works if you have cygwin.  Does it work under XEmacs as
well, Rich?

>>>>> "RH" == Rich Heiberger <rmh at surfer.sbm.temple.edu> writes:

    RH> To make bash the shell from within emacs, add the following to
    RH> your site-start.el

    RH> ;;; shell on windows to bash

    RH> ;;; this sequence is designed to be occupy several lines ;;;
    RH> in emacs/emacs-21.1.90/site-lisp/site-start.el

    RH> ;;; This file requires no changes to run in a different path.
    RH> ;;; When it is installed in the
    RH> ../emacs/emacs-21.1.90/site-lisp/ ;;; directory, it will know
    RH> where it is.  For example, if we are in ;;;
    RH> "c:/emacs/emacs-21.1.90/site-lisp/site-start.el" then ;;;
    RH> `where' is "c:/"

    RH> ;;; It also assume that emacs and cygwin are parallel in the
    RH> directory ;;; structure, that is, that you are working with,
    RH> for example, ;;; c:/emacs/emacs-21.1.90/ ;;;
    RH> c:/cygwin/bin/bash.exe

    RH> (make-local-variable 'where) (setq where (file-name-directory
    RH> (file-truename (concat load-file-name "/../../.."))))
    RH> (make-local-variable 'progra~1) (setq progra~1 (concat where
    RH> "progra~1/")) (make-local-variable 'cygwin)
    RH> (make-local-variable 'cygwin-bin) (make-local-variable
    RH> 'cygwin-bash) (setq cygwin (concat where "cygwin")) (setq
    RH> cygwin-bin (concat cygwin "/bin")) (setq cygwin-bash (concat
    RH> cygwin-bin "/bash.exe")) (setenv "COMSPEC" cygwin-bash)
    RH> (setenv "SHELL" cygwin-bash) (setq shell-file-name
    RH> cygwin-bash)
    RH> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    RH> ess-help mailing list -- To (un)subscribe, send subscribe or
    RH> unsubscribe (in the "body", not the subject !)  To:
    RH> ess-help-request at stat.math.ethz.ch
    RH> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


-- 
A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics		rossini at u.washington.edu	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini at scharp.org
-------------- http://software.biostat.washington.edu/ ----------------
FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW:   Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
--- I'm 40% time until March 1st.  Try email the other 3 days.... -----
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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