Re: [Rcpp-devel] generalizing make_list

2010-03-18 Thread Dirk Eddelbuettel
On 18 March 2010 at 13:50, Romain Francois wrote: | I will. Note that you still did not reply to the original question, | which is what the name should be, and you are usually the one with | opinions on these matters (e.g. you don't like make_list). create() works well for me. Classes as nouns

Re: [Rcpp-devel] generalizing make_list

2010-03-18 Thread Romain Francois
Le 18/03/10 13:37, Dirk Eddelbuettel a écrit : > > On 18 March 2010 at 13:16, Romain Francois wrote: > | Le 18/03/10 12:55, Dirk Eddelbuettel a écrit : > |> | I am very happy about the make_list templates, but it only handles > |> | lists, and the next best thing would be having something that wo

Re: [Rcpp-devel] generalizing make_list

2010-03-18 Thread Dirk Eddelbuettel
On 18 March 2010 at 13:16, Romain Francois wrote: | Le 18/03/10 12:55, Dirk Eddelbuettel a écrit : | > | I am very happy about the make_list templates, but it only handles | > | lists, and the next best thing would be having something that would | > | handle all sorts of vectors. | > | > My first

Re: [Rcpp-devel] generalizing make_list

2010-03-18 Thread Romain Francois
Le 18/03/10 12:55, Dirk Eddelbuettel a écrit : > > Hi Romain, > > On 18 March 2010 at 12:22, Romain Francois wrote: > | Hello, > | > | I am very happy about the make_list templates, but it only handles > | lists, and the next best thing would be having something that would > | handle all sorts of v

Re: [Rcpp-devel] generalizing make_list

2010-03-18 Thread Dirk Eddelbuettel
Hi Romain, On 18 March 2010 at 12:22, Romain Francois wrote: | Hello, | | I am very happy about the make_list templates, but it only handles | lists, and the next best thing would be having something that would | handle all sorts of vectors. My first question would be "Why exactly?" We have

[Rcpp-devel] generalizing make_list

2010-03-18 Thread Romain Francois
Hello, I am very happy about the make_list templates, but it only handles lists, and the next best thing would be having something that would handle all sorts of vectors. With some imagination, I think we can achieve this, but I was wondering what the interface should be like. I was thinking m