Le lun. 9 déc. 2019 à 09:57, Tomas Kalibera a
écrit :
> On 12/9/19 2:54 PM, Laurent Gautier wrote:
>
>
>
> Le lun. 9 déc. 2019 à 05:43, Tomas Kalibera a
> écrit :
>
>> On 12/7/19 10:32 PM, Laurent Gautier wrote:
>>
>> Thanks for the quick response Tomas.
>>
>> The same error is indeed happening
Laurent,
the main point here is that ParseVector() just like any other R API has to be
called in a correct context since it can raise errors so the issue was that
your C code has a bug of not setting R correctly (my guess would be your'e not
creating the initial context necessary in embedded R)
> Martin Maechler
> on Thu, 12 Dec 2019 17:20:47 +0100 writes:
> Karolis Koncevičius
> on Mon, 9 Dec 2019 23:43:36 +0200 writes:
>> So I tried adding Infinity support for all cases. And it
>> is (as could be expected) more complicated than I
>> thought.
Hi Simon,
Widespread errors would have caught my earlier as the way that code is
using only one initialization of the embedded R, is used quite a bit, and
is covered by quite a few unit tests. This is the only situation I am aware
of in which an error occurs.
What is a "correct context", or initi
Laurent,
> On Dec 14, 2019, at 5:29 PM, Laurent Gautier wrote:
>
> Hi Simon,
>
> Widespread errors would have caught my earlier as the way that code is
> using only one initialization of the embedded R, is used quite a bit, and
> is covered by quite a few unit tests. This is the only situation