Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site rna.UUCP Path: utzoo!linus!philabs!cmcl2!rna!dan From: dan@rna.UUCP (Dan Ts'o) Newsgroups: net.math.stat Subject: S seems incredibly slow... Message-ID: <316@rna.UUCP> Date: Sat, 17-Nov-84 15:43:37 EST Article-I.D.: rna.316 Posted: Sat Nov 17 15:43:37 1984 Date-Received: Sun, 18-Nov-84 22:38:31 EST Organization: Rockefeller Neurobiology, NYC Lines: 29 Hi, S on our 11/750 - 4.2BSD seems very slow. I know that this situation can be improved by binding commonly used functions into S's executive. How much of an improvement can reasonably be expected ? Any hints as to which functions are good candidates ? Here are two S examples which take 10-30 minutes to execute: s _ matrix(0, 20, 20) for (i in 1:20) { for (j in 1:20) { s[i,j] _ sin(j/10) } } and m _ matrix(read("/tmp/junk"), 100, 100) #read 100x100 matrix We are beginning S users and are thus naive about the "best" way of doing things. Thanks. Cheers, Dan Ts'o Dept. Neurobiology Rockefeller Univ. 1230 York Ave. NY, NY 10021 212-570-7671 ...cmcl2!rna!dan