Fun with lists



Stavros Macrakis wrote:
> I have been using the R system lately for a variety of analyses, and
> it builds a lot of functionality into subscripting.
>
>
>   
[snip examples]
> Well, enough for now.  Discussion?

I'm not familiar with R, but I have used Matlab's subscripting. It's
really quite handy. (But sometimes makes for really obfuscated code.)
Based on your description, it seems quite similar to R.

One thing that would be nice is to have a simple syntax for Matlab's
a:b:s which generates an vector starting at a and ending at b with a
step of s.

I know we can use makelist for that, but it's so much typing for
something that would be used a lot. :-)

Ray