Re: R-alpha: compatibility

Martyn Plummer (plummer@iarc.fr)
Wed, 19 Feb 1997 19:10:36 +0100


Message-Id: <199702191807.TAA09676@hypatia.math.ethz.ch>
Date: Wed, 19 Feb 1997 19:10:36 +0100
To: r-testers@stat.math.ethz.ch
From: Martyn Plummer <plummer@iarc.fr>
Subject: Re: R-alpha: compatibility

I think there is a strong case for a compatibility option for 
out-of-range indices in vectors and list. However, putting in a
compatibility mode does set a precedent, and as Kurt and Luke 
have pointed out, this could be the Road to Hell. So perhaps
it would be a good idea to discuss the criteria for including
them. My suggested criteria:

1) Compatibility mode turned "off" allows a _subset_ of the
   functionality available when it is turned "on".
2) The functionality disallowed by "off" mode is badly designed,
   and is included only to allow existing S code to run.

There are no problems deciding which mode to use at runtime
with this arrangement.

Martyn

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-