[R] terminate R program when trying to access out-of-bounds arrayelement?

Marc Schwartz MSchwartz at MedAnalytics.com
Thu Apr 14 00:15:00 CEST 2005


On Wed, 2005-04-13 at 15:03 -0700, Berton Gunter wrote:
> WHOA!
> 
> Do not redefine R functions (especially "[" !) in this way! That's what R
> classes and methods (either S3 or S4) are for. Same applies to print
> methods. See the appropriate sections of the R language definition and the
> book S PROGRAMMING by V&R.
> 
> Please do not offer "advice" of this sort if you are not knowledgeable about
> R/S Programming, as it might be taken seriously.

I think that we have another entry for the fortunes package...

:-)

Best regards,

Marc




More information about the R-help mailing list