[ESS] ESS[SAS]: Submit region starting new SAS session?

Erin Jonaitis jon@|t|@ @end|ng |rom |@tr|-w|@org
Thu Feb 12 19:18:37 CET 2015

Hi all,

Thanks for your quick reply, Rodney! I tried your suggestion (M-x SAS, then going to a line of code and hitting C-Enter) and I got an error: "<C-return> is undefined"
Could this be a keyboard thing? Might I need to remap this particular command?

Line-by-line processing sounds really tedious, but if the alternative is not being able to keep things like library definitions in memory while I work on the code piece by piece, I'd like to learn how to do it this way. 


----- Original Message -----
From: "Rodney Sparapani" <rsparapa using mcw.edu>
To: ess-help using stat.math.ethz.ch
Cc: jonaitis using fstrf-wi.org
Sent: Thursday, February 12, 2015 11:58:29 AM
Subject: Re: ESS[SAS]: Submit region starting new SAS session?

> Hello!
> I'm a fairly new emacs user, a very new user of ESS[SAS], and an extremely new subscriber to this list (so
> apologies if I violate list etiquette). I'm using GNU emacs 23.4.1 (2012-06-05) and SAS 9.3 on Unix (SunOS 5.10).
> I have noticed that code which works when submitted as an entire file will not work when I submit it region by
> region. Here is an example:
> libname mylib "/.";
> data temp; set mylib.temp; run;

Hi Erin:

When you submit a region, then you are submitting it in batch.  If
you want line-by-line interactive SAS (and who does really ;o)
then you have to start SAS interactively, i.e. M-x SAS
and then you step through your code line-by-line with C-Enter.


More information about the ESS-help mailing list