<div dir="ltr">Hi all, <div><br></div><div>thanks for your responses. Indeed, R can be a little confusing coming from C++ / Python :)</div><div>I am now creating a one-element vector, and that seems to work great for xtensor-R!</div><div><br></div><div>Cheers,</div><div><br></div><div>Wolf</div></div><br><div class="gmail_quote"><div dir="ltr">Am Mo., 10. Dez. 2018 um 18:56 Uhr schrieb Jeff Newmiller <<a href="mailto:jdnewmil@dcn.davis.ca.us">jdnewmil@dcn.davis.ca.us</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I did not intend to shoot anyone... but my own learning curve led me to skip over the clear descriptions in the "Introduction to R" document because I thought I already understood the terminology. True, it happened a long time ago, but it took me an embarrassingly long time to grok this because the terminology seemed so familiar, and I searched on the wrong terms because of it.<br>
<br>
On December 10, 2018 9:06:20 AM PST, Dirk Eddelbuettel <<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>> wrote:<br>
><br>
>Jeff,<br>
><br>
>On 10 December 2018 at 08:43, Jeff Newmiller wrote:<br>
>| Your use of the term "array" in this context suggests you still don't<br>
>have a firm grasp of R data types. R arrays are vectors with dim<br>
>attributes. What you want is to create an R vector with 1 element, as<br>
>shown in the quick reference. [1]<br>
><br>
>No need to shoot the messenger. I happen to know Wolf comes from C++<br>
>and<br>
>Pythonland where array is well defined term.<br>
><br>
>But yes, over here some things are different.  But not everybody has<br>
>spent<br>
>10+ (or 20+) years in R and S land as you and I.<br>
><br>
>Dirk<br>
<br>
-- <br>
Sent from my phone. Please excuse my brevity.<br>
</blockquote></div>