fixed handling of R functions from C code, added important test cases
commit72173775c60321a7ac0a56df592ac31b05cf32c8
authorAntonio <antonio@antonio-laptop.(none)>
Mon, 31 Mar 2008 12:43:08 +0000 (31 14:43 +0200)
committerAntonio <antonio@antonio-laptop.(none)>
Mon, 31 Mar 2008 12:43:08 +0000 (31 14:43 +0200)
treeb116c13c31ae31d0374e990d70d08f869a2ab433
parent02a330d4f2be7c9e801cb2821a36f4b8c53a1765
fixed handling of R functions from C code, added important test cases

Now R functions are evaluated from C in their environment.
This allows the user to specify functions more dynamically
(i.e., inside loops).
Node values have to be explicitely coerced into REAL storage mode.
RGS/R/Model.R
RGS/tests/test_Distributions.R