From phgrosjean at sciviews.org  Mon Jun 16 10:04:28 2008
From: phgrosjean at sciviews.org (Philippe Grosjean)
Date: Mon, 16 Jun 2008 10:04:28 +0200
Subject: [Rd] Execute expr with a timeout?
Message-ID: <48561E8C.7020806@sciviews.org>

Hello,

Does someone know how to execute an expression in R, limiting the time 
to evaluate it and raising an exception if it takes too long to run? 
Something like:

 > with.timeout(expr, timeout = 10)

which stops the evaluation of 'expr' if it is not done after 10 sec?
Best,

Philippe Grosjean



[Rd] Execute expr with a timeout?
Philippe Grosjean