[ESS] (re) formatting SAS code

Ross Boylan ross at biostat.ucsf.edu
Mon Nov 17 23:13:37 CET 2008


Does ess have anything that would help reformat SAS code?  I ran
indent-according-to-mode, but it still looks pretty bad.  In particular
select(x);
when (1) do;
 ....
 end;
when (2) do;
  ....
  end;
etc

the do blocks aren't getting indented.

Or, if anyone has pointers to any other tool, that would be great too.

I've captured some code from macros using options mprint, and I'm trying
to make it presentable.  I do want plain text output, however.

Thanks.
Ross Boylan




More information about the ESS-help mailing list