🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.math.stat
Article #55

S for-loops.

#55
From: Rolf Turner
Date: Tue, 27 Nov 1984 06:55
16 lines
954 bytes
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
Technical Details
Message-ID: <75@natmlab.OZ>
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!mulga!munnari!natmlab!rolf

Show Full Headers
Complete Article Headers
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: arc1-ca.pugleaf.net!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