Displaying 6 results from an estimated 6 matches for "mikefc".
Did you mean:
mikec
2018 Sep 25
1
Fwd: Bug report: cbind with numeric and raw gives incorrect result
...leads to a `INTEGER(REALSXP)` call,
> which presumably messes up the underlying double bit representation.
>
> Again, I looked at this very quickly so I could be completely wrong, but I
> did at least build R with this patch and then no longer observed the odd
> behavior reported by mikefc.
>
> Index: src/main/bind.c
> ===================================================================
> --- src/main/bind.c (revision 75340)
> +++ src/main/bind.c (working copy)
> @@ -1381,11 +1381,16 @@
> MOD_ITERATE1(idx, k, i, i1, {
> LOGIC...
2018 Sep 24
3
Fwd: Bug report: cbind with numeric and raw gives incorrect result
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
consistent, and repeated applications get different results.
> cbind(0, as.raw(1:10))
2018 Sep 25
0
Fwd: Bug report: cbind with numeric and raw gives incorrect result
...p to REALSXP here.? This leads to a `INTEGER(REALSXP)` call, which presumably messes up the underlying double bit representation.
Again, I looked at this very quickly so I could be completely wrong, but I did at least build R with this patch and then no longer observed the odd behavior reported by mikefc.
Index: src/main/bind.c
===================================================================
--- src/main/bind.c?? ?(revision 75340)
+++ src/main/bind.c?? ?(working copy)
@@ -1381,11 +1381,16 @@
??? ??? ??? ?MOD_ITERATE1(idx, k, i, i1, {
??? ??? ??? ???? LOGICAL(result)[n++] = RAW(u)[i1] ? TRUE : F...
2023 Mar 26
0
Inconsistency in grid::grid.polyline
...nt to just create a
description of something to draw, then you want to call *Grob().
In other words, I have come to view the 'draw' argument to grid.*() as
redundant.
That reflects how I use 'grid', so I may be unaware of an important
counter argument.
Paul
On 25/03/23 13:02, mikefc wrote:
> Caution - Forged External Domain!
> This e-mail cannot be validated and may not have been sent by the sender
> shown in the 'From' field.
> If you were not expecting to receive this e-mail we recommend you
> contact the sender to confirm that they sent it.
> If...
2024 Apr 24
0
[Rd] R 4.4.0 is released
...o_make for
_not_ re-making the corresponding files, and additionally a
verbose argument.
* Hexadecimal string colour specifications are now accepted in
short form, so, for example, we can use "#123", which is
equivalent to "#112233".
Thanks to MikeFC for the original idea and Ella Kaye, Malcolm
Barrett, George Stagg, and Hanne Oberman for the patch.
* Plain-text help shows \var markup by angle brackets.
* The new experimental primitive function declare() is intended to
eventually allow information about R code to be commun...
2024 Apr 24
0
[Rd] R 4.4.0 is released
...o_make for
_not_ re-making the corresponding files, and additionally a
verbose argument.
* Hexadecimal string colour specifications are now accepted in
short form, so, for example, we can use "#123", which is
equivalent to "#112233".
Thanks to MikeFC for the original idea and Ella Kaye, Malcolm
Barrett, George Stagg, and Hanne Oberman for the patch.
* Plain-text help shows \var markup by angle brackets.
* The new experimental primitive function declare() is intended to
eventually allow information about R code to be commun...