Have a nice day

April 29, 2009 at 6:37 am 1 comment

| Gabriel |

In the comments, Mike3550 noticed that many of my scripts end:

*have a nice day

Believe it or not, this is actually a useful trick, the reason being that Stata only executes lines that end in a carriage return. Including a gratuitous comment at the end of the script is an easy way to ensure that Stata executes the last real command. If “*have a nice day” is too sappy for you  it works just as well to use “*it puts the lotion on its skin or else it gets the hose again.”


Entry filed under: Uncategorized. Tags: .

R, Stata and “non-rectangular” data Why did you do that?

1 Comment

  • 1. T  |  October 28, 2009 at 11:41 pm

    That is a total riot. Thx!

The Culture Geeks

%d bloggers like this: