Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: Notesfiles $Revision: 1.6.2.17 $; site uiucuxc.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!inuxc!pur-ee!uiucdcs!uiucuxc!koenker
From: koenker@uiucuxc.UUCP
Newsgroups: net.math.stat
Subject: Re: S seems incredibly slow...
Message-ID: <42600001@uiucuxc.UUCP>
Date: Fri, 30-Nov-84 15:00:00 EST
Article-I.D.: uiucuxc.42600001
Posted: Fri Nov 30 15:00:00 1984
Date-Received: Sun, 2-Dec-84 03:27:14 EST
References: <316@rna.UUCP>
Lines: 10
Nf-ID: #R:rna:-31600:uiucuxc:42600001:000:368
Nf-From: uiucuxc!koenker    Nov 30 14:00:00 1984

On example one try:  s_sin((1:20)%o(1:20))  This should help.
S for loops are notoriously slow and every effort should
be made to find ways toexploit S's natural looping constructs.
The operator %o is a special case ofthe general function outer.
See also apply and sapply for useful functions.

				Roger Koenker
				Department of Economics
				University of Illinois