Hi all,

thanks for your responses. Indeed, R can be a little confusing coming from
C++ / Python :)
I am now creating a one-element vector, and that seems to work great for
xtensor-R!

Cheers,

Wolf

Am Mo., 10. Dez. 2018 um 18:56 Uhr schrieb Jeff Newmiller <
jdnew...@dcn.davis.ca.us>:

> 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.
>
> On December 10, 2018 9:06:20 AM PST, Dirk Eddelbuettel <e...@debian.org>
> wrote:
> >
> >Jeff,
> >
> >On 10 December 2018 at 08:43, Jeff Newmiller wrote:
> >| Your use of the term "array" in this context suggests you still don't
> >have a firm grasp of R data types. R arrays are vectors with dim
> >attributes. What you want is to create an R vector with 1 element, as
> >shown in the quick reference. [1]
> >
> >No need to shoot the messenger. I happen to know Wolf comes from C++
> >and
> >Pythonland where array is well defined term.
> >
> >But yes, over here some things are different.  But not everybody has
> >spent
> >10+ (or 20+) years in R and S land as you and I.
> >
> >Dirk
>
> --
> Sent from my phone. Please excuse my brevity.
>
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to