Skip to content
Prev 32979 / 63421 Next

reference counting bug related to break and next in loops

Thanks for the report.

It turns out that a similar issue arises in while() loops without
break/next being involved because the test expression is evaluated
after the final body evaluation.  After some discussion we decided it
was simplest both for implementation and documentation to have the
value of a loop expression always be NULL.  This is now implemented in
R-devel.

luke
On Tue, 2 Jun 2009, William Dunlap wrote: