[Rcpp-devel] Maximum Columns in Rcpp DataFrame

Dirk Eddelbuettel edd at debian.org
Tue Mar 5 21:10:59 CET 2013


On 5 March 2013 at 19:09, Bierbryer, Andrew wrote:
| Hi ?
| 
|  
| 
| I am trying to create an rcpp data frame with more than 20 columns. I get a
| compile error that it cannot find the matching function for call to
| Rcpp::DataFrame::create.
| 
| When I try to create it for 20 columns, it works fine. Is 20 columns the
| maximum number that you can use in the Rcpp::DataFrame::create?

Yes.  

Per an auto-generated set of constructors which we once expanded from 6 (as I
recall) to 20.  
 
| If you have any suggestions regarding this, that would be great.

Create a local header file with 21, 22, 23, ... \infty arguments as you need it.

Dirk
 
|  
| 
| Thanks,
| 
| Andrew Bierbryer
| 
|  
| 
|  
| 
| The information contained in this email communication is confidential and is
| intended only for the recipients named above and any others who have been
| specifically authorized to receive it. Any unauthorized dissemination, copying
| or use of the contents of this email is strictly prohibited and may be
| unlawful. If you received this email in error, please delete it and any
| attachments from your system and notify the sender immediately.
| 
| This communication is for informational purposes only and does not constitute a
| solicitation or offer to buy or sell securities. Any such offer will be made
| only to qualified investors by means of a confidential private offering
| memorandum, and only in jurisdictions where permitted by law. Past performance
| is not necessarily indicative of future results
| 
| 
| ----------------------------------------------------------------------
| _______________________________________________
| Rcpp-devel mailing list
| Rcpp-devel at lists.r-forge.r-project.org
| https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  


More information about the Rcpp-devel mailing list