Hi Leonard,

On Monday, 2007-06-04 11:38:11 +0200, Leonard Mada wrote:

> I believe this is more a Calc issue. IF I understad correctly, Calc
> tries to cache information and already calculated values. So, IF Calc
> encounters the same formula a 2nd time, then it possibly never runs
> the funciton again, BUT rather outputs the value from the Cache.

As Niklas already wrote last week in a reply to Wojciech, that is not
the case. If the function is called from different cells, no caching is
done by Calc. Also several calls within one cell formula are evaluated
independently. Only the formula result is cached for each cell
separately and reused if there was no need to flag the cell as dirty,
for example when cells changed that are referenced in the formula.

Wojciech, are you sure your code doesn't "cache" the R result, for
example by accessing it through a static variable before passing it to
Calc?

  Eike

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 Please don't send personal mail to this [EMAIL PROTECTED] account, which I use 
for
 mailing lists only and don't read from outside Sun. Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to