Re: R-alpha: Recycling

Gregory R. Warnes (
Tue, 25 Feb 1997 07:13:59 -0800 (PST)

Date: Tue, 25 Feb 1997 07:13:59 -0800 (PST)
From: "Gregory R. Warnes" <>
To: Jim Lindsey <>
Subject: Re: R-alpha: Recycling
In-Reply-To: <>

I agree that vector recycling and streachiness can be responsible for
insideous errors.  However, a great deal of S code seems to depend on this
behavour.  Instead of of enabling or disabling the *behavour*, I would
like to be able to enable or disable the printing of *warning* messages 
when vector streaching or recycling occurs.

If the *behavour* is switchable, this may break previously working code, 
which could be quite awkward if you're debugging a function for which 
you wish streachiness/recycling NOT to occur which calls functions which 
depend on streachiness/recycling.  If instead, *warnings* were switchable 
(on by default?) it would be possible to debug a function that should not 
use these features, even if it calls functions that do.  

If the warning messages are on by default, this will still discourage the 
use of these features without breaking compatibility with S.


    Gregory R. Warnes          | It is high time that the ideal of success  |  be replaced by the ideal of service.
                               |                       Albert Einstein

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: