Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site natmlab.OZ Path: utzoo!linus!decvax!mulga!munnari!natmlab!rolf From: rolf@natmlab.OZ (Rolf Turner) Newsgroups: net.math.stat Subject: S for-loops. Message-ID: <75@natmlab.OZ> Date: Tue, 27-Nov-84 01:55:54 EST Article-I.D.: natmlab.75 Posted: Tue Nov 27 01:55:54 1984 Date-Received: Thu, 15-Nov-84 01:10:48 EST Organization: CSIRO Nat. Measurement Lab. (Maths+Stats & Applied Phys), Sydney,Australia. Lines: 16 Try the following in S: > a<-1:5 > for(i in a) print(i) > for(i in 0+a) print(i) > for(i in a) print(i) The results which I get seem mystical & mystifying. I'd appreciate hearing if anomalies occur at other installations (or if the mystery is peculiar to ours). Also explanations and/or fixes would be welcomed. Address (in case the header is incomprehensible): ....decvax!mulga!rolf:natmlab