s-news
[Top] [All Lists]

Re: SUMMARY: S-PLUS top tips

To: Mike.Prager@noaa.gov (Mike Prager)
Subject: Re: SUMMARY: S-PLUS top tips
From: "Patrick Connolly" <P.Connolly@hortresearch.co.nz>
Date: Thu, 26 Jul 2001 10:46:55 +1200 (NZST)
Cc: s-news@wubios.wustl.edu (Snews)
In-reply-to: <5.1.0.14.2.20010725102205.00b1c328@nsmail.ccfhrb.noaa.gov> from "Mike Prager" at Jul 25, 2001 10:23:54 AM
Reply-to: "Patrick Connolly" <P.Connolly@hortresearch.co.nz>
According to Mike Prager:
|> 
|> At 7/24/2001 at 02:47 PM, 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."
|> 
|> 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."

That's a bit of overkill.  It's still quite safe to use i, j and k for
iterations in loops; n, N, m and M for dimensions and x, y and z for
plotting terms and functions used with the apply family.


-- 
*************************************************************
Patrick Connolly
HortResearch                        Great minds discuss ideas;
Mt Albert                           Average minds discuss events; 
Auckland                            Small minds discuss people.
New Zealand                                                 .... Anon
Ph: +64-9 815 4200 x 7188
*************************************************************


______________________________________________________
The contents of this e-mail are privileged and/or confidential to the
named recipient and are not to be used by any other person and/or
organisation. If you have received this e-mail in error, please notify 
the sender and delete all material pertaining to this e-mail.
______________________________________________________

<Prev in Thread] Current Thread [Next in Thread>