[ESS] ess-eval-region ignore stata comments?

Paul Burkander paul at burkander.com
Fri Aug 3 18:20:04 CEST 2012


Is there a way to make ess-eval-region ignore stata comments?

If I have the following code as my region:

/* foo */
di "bar"

I get
. /* foo */
unrecognized command:  / invalid command name
r(199);

.
. di "bar"
bar

Which isn't terrible, since it at least gets to the display command.
However, if the comment is in a loop, it breaks the loop.  Is there
any way to make ESS skip the commented line?

Thanks!



More information about the ESS-help mailing list