problems using SAS mode

Rich Heiberger rmh at
Fri Nov 21 02:29:10 CET 2003

The first question I have, is what computer and operating system
are you running?  As a corollary, where does SAS live?  And is sas
in your path?  

I will answer the two halves of your query separately.

1.  M-x SAS works only on unix computers.  It doesn't work on
Windows computers.  It assumes that sas is in the path.  If you are
using M-x SAS and sas is not in your PATH then modify line 32 in
etc/ess-sas-sh-command to reflect the pathname to sas on your computer.

M-x SAS is an interactive SAS session.  You type and then highlight
lines in and send them to the running SAS with C-c C-r.
SAS writes the log information in the *SAS.log* buffer and the listing
information in the *SAS.lst* buffer.  Both look alike (except for the pts
number) until SAS outputs something.

2. F3 and the other keys that you set with
  (setq ess-sas-local-unix-keys t)
are not automatically set in the same instance of emacs in which the
.emacs file is changed.  This command is explicitly an instruction to
the startup of ESS that only takes effect on the next instance of emacs,
that is, it looks like it wants you to shut down emacs and start over.
You don't actually have to shut emacs on that first use, you can just
execute the command directly with
        M-x ess-sas-local-unix-keys


More information about the ESS-help mailing list