Re: [Rcpp-devel] data frame construction error

2011-03-04 Thread Robin Aly
Hi Dirk, thanks for the quick answer! I now use a list and it works like a charm. Thanks a lot! Robin On 03/03/2011 06:10 PM, Dirk Eddelbuettel wrote: Hi Robin, On 3 March 2011 at 17:22, Robin Aly wrote: | Hi, | | I am building a Rcpp wrapper for the Information Retrieval package Lemur. | | F

Re: [Rcpp-devel] data frame construction error

2011-03-03 Thread Dirk Eddelbuettel
Hi Robin, On 3 March 2011 at 17:22, Robin Aly wrote: | Hi, | | I am building a Rcpp wrapper for the Information Retrieval package Lemur. | | For this, I need to construct a data frame of a dynamic number of columns. | | In my code, I do the following (condensed view): | | SEXP result=R_N