Re: R-alpha: Misc problems

Ross Ihaka (ihaka@stat.auckland.ac.nz)
Wed, 19 Feb 1997 08:10:36 +1300 (NZDT)


Date: Wed, 19 Feb 1997 08:10:36 +1300 (NZDT)
From: Ross Ihaka <ihaka@stat.auckland.ac.nz>
Message-Id: <199702181910.IAA23421@stat1.stat.auckland.ac.nz>
To: plummer@iarc.fr, r-testers@stat.math.ethz.ch
Subject: Re: R-alpha: Misc problems

> Martyn Plummer writes:

> At 20:53 17/02/97, ihaka@stat.auckland.ac.nz wrote:

> >In the interests of compatibility I have already added code which
> >provides "stretchy" vectors and lists for the next version.  There is a
> >lot of code which uses this facility.  I have been checking our object
> >system code by running Bill Venables "polynomial" class code and it
> >uses this facility.

> This is a shame.  I understand that it is necessary for compatibility
> with S, but I really preferred the more rigorous approach of R. I found
> quite a few bugs running programs under R which slipped by unnoticed in S.

> Would it be possible to have an option which switches off stretchy vectors
> for people who want to write cleaner and more efficient code? And does
> anyone else want this?

It would be easy to this.  Any requests on how the option should be set
and unset?  I would lean toward something like

	options(bounds.check=TRUE)
	options(bounds.check=FALSE)

Ross
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-