R-alpha: core dump

Ross Ihaka (ihaka@stat.auckland.ac.nz)
Fri, 17 May 1996 14:38:32 +1200

Date: Fri, 17 May 1996 14:38:32 +1200
From: Ross Ihaka <ihaka@stat.auckland.ac.nz>
Message-Id: <199605170238.OAA06516@stat.auckland.ac.nz>
To: pgilbert@bank-banque-canada.ca (Paul Gilbert)
Subject: R-alpha: core dump
In-Reply-To: <96May16.124631edt.29528@mailgate.bank-banque-canada.ca>

Nice bug.  Thank you.  For efficency reasons we have two indicators of
when data values are objects.

	1) A class attribute

	2) A bit in data header which indicates whether an object has
	   a class attribute.

Here the two got out of step.  As.vector stripped the class attribute,
but did not reset the object indicator bit.  Sloppy programming
elsewhere mean the class vector got examined anyway.  Boom!

This will be fixed in today's 0.6 release.

PS:  Currently binary operators are not generic -- I haven't
implemented the Math.class idea yet.  Do you need this (now, or soon)?
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch