[ESS] Interactive SAS mode hangs
rsparapa at mcw.edu
Wed Sep 30 18:56:35 CEST 2015
> Hello again, Rodney,
> Well, some minor good news here. First of all, we were able to disable SELinux, which simplifies things.
> Second, I've narrowed the scope of the problem considerably. It turns out that the hanging behavior seems
> to be specific to carriage returns!
> This code hangs when I submit it interactively in ESS[SAS]:
> | proc contents data=temp;
> | run;
> This code does not hang:
> | proc contents data=temp;run;
> Does any explanation come to mind? A tempting analogy is when I've run into trouble running shell scripts on
> a *nix system after writing them in Windows, because of different line break symbols -- so I'll head that
> off by saying I'm writing the code and trying to run it both in Emacs on the same Red Hat 7 system (i.e., I'm not
> merely editing a file in Emacs that I opened and saved elsewhere). But maybe there is some analogous
> setting somewhere that is screwing stuff up?
Don't worry about line breaks. Neither SAS nor emacs care whether you use
UNIX or DOS line breaks in .sas files.
But getting back to the issue at hand, I can't reproduce your problem.
Are you sending the line over with C-Return? F1-k C-Return gives me...
<C-return> runs the command ess-eval-region-or-line-and-step, which is
an interactive compiled Lisp function in `ess-inf.el'.
> Some colleagues have informed me that ESS[SAS] also does not seem to run code correctly in batch mode. I
> don't know whether this problem is related or not, but it seemed worth a mention.
Nope, that doesn't suggest anything at all except maybe your SAS
installation is bogus. ESS[SAS] batch and iESS[SAS] are two totally
More information about the ESS-help