> -----Original Message-----
> From: Patrick Connolly [mailto:P.Connolly@hortresearch.co.nz]
> Sent: Thursday, 26 July 2001 8:47 AM
> To: Mike.Prager@noaa.gov
> Cc: s-news@wubios.wustl.edu
> Subject: Re: [S] SUMMARY: S-PLUS top tips
>
> 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.
>
Yes, but the real "gotcha" are natural groups like a, b, c...
p, q, r, s, t... or R, S, T.... or the one everyone forgets:
A, B, C, D, E, F ...
|