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
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_NilValue;
std::vector*> tfs(iters.size());
tfs[i] is a numeric vec