Skip to content

[Rcpp-devel] Maximum Columns in Rcpp DataFrame

2 messages · Bierbryer, Andrew, Dirk Eddelbuettel

#
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?
If you have any suggestions regarding this, that would be great.

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130305/bc19bd95/attachment.html>
#
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