Re: [Rcpp-devel] binding, combining vectors

2012-12-13 Thread Romain Francois
Le 13/12/12 17:29, Dirk Eddelbuettel a écrit : On 13 December 2012 at 10:01, Romain Francois wrote: | Hello, | | I'd like to add a functionality to "bind" vectors of the same type (well | sugar expressions really, but let's say it is vectors for the sake of | this email). | | So essentially I'd

Re: [Rcpp-devel] binding, combining vectors

2012-12-13 Thread Dirk Eddelbuettel
On 13 December 2012 at 10:01, Romain Francois wrote: | Hello, | | I'd like to add a functionality to "bind" vectors of the same type (well | sugar expressions really, but let's say it is vectors for the sake of | this email). | | So essentially I'd like something similar to what "c" does in R

Re: [Rcpp-devel] binding, combining vectors

2012-12-13 Thread John Merrill
What about 'concat', 'cat', or 'concatenate'? The function concatenates vectors, and 'concat' and 'cat' are well-known short forms of the word. (The Unix program 'cat' is so-named because it concatenates text files.) On Thu, Dec 13, 2012 at 7:20 AM, Walter Mascarenhas < walter.mascaren...@gmail

Re: [Rcpp-devel] binding, combining vectors

2012-12-13 Thread Walter Mascarenhas
Romain, what about "join"? walter. On Thu, Dec 13, 2012 at 1:15 PM, Andreas Alfons wrote: > Hi Romain, > > "bind" may be confusing to R users, because "cbind" and "rbind" exist > in R and return matrices. In my opinion, "combine" is a better option. > > - Andreas > > > On Thu, Dec 13,

Re: [Rcpp-devel] binding, combining vectors

2012-12-13 Thread Andreas Alfons
Hi Romain, "bind" may be confusing to R users, because "cbind" and "rbind" exist in R and return matrices. In my opinion, "combine" is a better option. - Andreas On Thu, Dec 13, 2012 at 10:01 AM, Romain Francois wrote: > Hello, > > I'd like to add a functionality to "bind" vectors of the same

[Rcpp-devel] binding, combining vectors

2012-12-13 Thread Romain Francois
Hello, I'd like to add a functionality to "bind" vectors of the same type (well sugar expressions really, but let's say it is vectors for the sake of this email). So essentially I'd like something similar to what "c" does in R : > c( letters, letters ) [1] "a" "b" "c" "d" "e" "f" "g" "h" "i