Basically this means there is no ifelse.bigz
method currently defined. base::ifelse
doesn't understand bigz
objects.
Instead, use if ... else
, since if(bigz_x [relationship operator] bigz_y)
will work because the relationship operators do have bigz
methods, thus returning a logical value that if
can work with.
Rgames> if(1) x else 0
Big Integer ('bigz') :
[1] 5