

   DDeellaayy EEvvaalluuaattiioonn

        delay(expr, env=.GlobalEnv)

   AArrgguummeennttss::

       expr: an expression.

        env: an evaluation environment

   DDeessccrriippttiioonn::

        `delay' creates a promise to evaluate the given expres-
        sion in the specifies environment if its value is
        requested.  This provides direct access to lazy evalua-
        tion mechanism used by for the evaluation of (inter-
        preted) functions.

        This is an experimental feature and its addition is
        purely for evaluation purposes.

   VVaalluuee::

        A promise to evaluate the expression.  The value which
        is retuned by `delay' can be assigned without forcing
        its evaluation, but any further accesses will cause
        evaluation.

   EExxaammpplleess::

        x <- delay({
            for(i in 1:10)
                print("yippee!\n")
            10
        })

