Skip to content
Prev 47014 / 63424 Next

Parallel R expression evaluations

On Oct 21, 2013, at 02:24 , Simon Urbanek wrote:

            
Things like GUI callbacks can get evaluated while other evaluation is in progress. In that case, a stack discipline is maintained, i.e. expression1 does not continue until expression2 is evaluated, but expression3 may arrive and block the other two. This isn't really much different from what happens if expression1 encounters an object that requires lazy evaluation. If the intermittent calls have no side effects, or at least keep them within a well-defined universe, the interrupted call should be unaffected.

However, this will not happen while expression1 is evaluating C code, only when the R evaluator is called. 

-pd