s-news
[Top] [All Lists]

S-PLUS top tips

To: s-news@wubios.wustl.edu
Subject: S-PLUS top tips
From: Rick Chappell <chappell@biostat.wisc.edu>
Date: Fri, 27 Jul 2001 10:31:03 -0500 (CDT)
Cc: Mike.Prager@noaa.gov, dsmith@insightful.com
David M Smith wrote:
>"S-plus has functions called c, q, s, t, C, D, and I. So it's better not to
>use these names for your own objects."

Mike Prager replied:
> For those of us with less-than-perfect memories, the easy-to-remember
> conclusion is, "So it's better never use single-letter names for your
> own objects."

I have have been using Mike's strategy for several years, especially
since there are (at least) two other letters which aren't happily used
for an object: T and F.  (Redefining them is a privilege reserved for
politicians.)  My solution is to simply take any single letter which I
was tempted to use and double it: TT, etc.  As far as I know, there
aren't any S-plus functions which are double letters.  If you find an
exception I would appreciate hearing of it.

Rick.

--------------------------  statu variabilis  --------------------------------
Rick Chappell, Ph.D. <> Associate Professor, Dept. of Biostatistics
University of Wisconsin at Madison Medical School 
600 Highland Avenue, K6/430 <> Madison, WI  53792  USA
chappell@stat.wisc.edu <> Work (608) 263-5572 <> FAX 263-1059 <> Home 233-3664 

<Prev in Thread] Current Thread [Next in Thread>
  • S-PLUS top tips, Rick Chappell <=