Re: [Rd] Fwd: Bug report: cbind with numeric and raw gives incorrect result

2018-09-25 Thread Tierney, Luke
Thanks for the report and patch. Fixed in R-devel and R_patched. Best, luke On Tue, 25 Sep 2018, brodie gaslam via R-devel wrote: > > > For what it's worth the following patch fixes that particular problem on my > system.  I have not checked very carefully to make sure this does not cause > o

Re: [Rd] Fwd: Bug report: cbind with numeric and raw gives incorrect result

2018-09-25 Thread Dirk Eddelbuettel
On 25 September 2018 at 22:59, mikefc wrote: | Thanks Brodie, that's some nice detective work. | | If someone wanted to grant me access to Bugzilla, I'll be happy to post the | bug and patch there (with your permission Brodie?) and help this bug get | fixed. I think it would help your cause if

Re: [Rd] Fwd: Bug report: cbind with numeric and raw gives incorrect result

2018-09-25 Thread mikefc
Thanks Brodie, that's some nice detective work. If someone wanted to grant me access to Bugzilla, I'll be happy to post the bug and patch there (with your permission Brodie?) and help this bug get fixed. Mike. On Tue., 25 Sep. 2018, 10:53 pm brodie gaslam, wrote: > > > For what it's worth the

Re: [Rd] Fwd: Bug report: cbind with numeric and raw gives incorrect result

2018-09-25 Thread brodie gaslam via R-devel
For what it's worth the following patch fixes that particular problem on my system.  I have not checked very carefully to make sure this does not cause other problems, but at a high level it seems to make sense.  In this particular part of the code I believe `mode` is taken to be the highest

[Rd] Fwd: Bug report: cbind with numeric and raw gives incorrect result

2018-09-25 Thread mikefc
Hi there, using cbind with a numeric and raw argument produces an incorrect result. I've posted some details below, kind regards, Mike. e.g. > cbind(0, as.raw(0)) [,1] [,2] [1,]0 6.950136e-310 A longer example shows that the result is not a rounding error, is not consiste