"function" function -- infinite loops and bus error [not user problem] (PR#361)

maechler@stat.math.ethz.ch maechler@stat.math.ethz.ch
Mon, 6 Dec 1999 12:19:38 +0100 (MET)


The following is in "all" versions of R,
but is not really a bug that users will stumble about.

Still should be fixed 
(making sure that performance is not degraded by the fix ..)


 f <- get("function")

 f(,) ##-- gives INFINITE loop; breakable with <ctrl> c.
 f(NULL,)# [and other variants] as well

 f(F,F)

 >> Bus error  and R is killed.

-- 
Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._