Displaying 3 results from an estimated 3 matches for "e0e0e0".
2011 Jan 31
1
str() on raster objects fails for certain dimensions
....raster(1:25, max=25, nrow=5, ncol=5);
> img[1:2]
[,1] [,2] [,3] [,4] [,5]
[1,] "#0A0A0A" "#3D3D3D" "#707070" "#A3A3A3" "#D6D6D6"
[2,] "#141414" "#474747" "#7A7A7A" "#ADADAD" "#E0E0E0"
compare with:
> as.matrix(img)[1:2]
[1] "#0A0A0A" "#3D3D3D"
The easy but incomplete fix is to do:
str.raster <- function(object, ...) {
str(as.matrix(object), ...);
}
Other suggestions?
> sessionInfo()
R version 2.13.0 Under development (unstable) (2011-...
2000 Feb 29
0
mapping of colornames into hsv: half way done
...t;gray82", "#D1D1D1",
"gray83", "#D4D4D4",
"gray84", "#D6D6D6",
"gray85", "#D9D9D9",
"gray86", "#DBDBDB",
"gray87", "#DEDEDE",
"gray88", "#E0E0E0",
"gray89", "#E3E3E3",
"gray90", "#E5E5E5",
"gray91", "#E8E8E8",
"gray92", "#EBEBEB",
"gray93", "#EDEDED",
"gray94", "#F0F0F0",
"gray95...
2019 Oct 25
2
Where and how to report an optimisation issue that doesn't cause a crash
...;https://godbolt.org/z/kpB74m</a></div>
<div dir="ltr"> </div>
<div dir="ltr"> </div>
</div>
<section class="cust_msg_end"></section>
<blockquote style="margin: 0; margin-bottom: 20px; border-top: 1px solid #e0e0e0;"><br />ב אוק׳ 25, 2019 0:44, David Blaikie כתב:
<blockquote style="margin: 0; margin-bottom: 20px; border-top: 1px solid #e0e0e0;">
<div dir="ltr">
<div dir="ltr">Here's a simpler version which I believe still captures the essence o...