Here is a snippet that works for S-PLUS.  It should also work for S, 
of which S-PLUS is an enhanced version. S (and S-PLUS) is an
object-orientated statistical language developed by the same 
organization that created another long titled computer language, C.
S is owned by AT&T. S-PLUS, the enhanced commerical version, is owned 
by Mathsoft, Inc. The lines beginning with "#" are comment lines.

# Hello world
# This is the Endless loop version which prints to standard output.
while (TRUE) { cat("Hello world!\n") }

submitted by: souther@beaches.net (david southerland)