[Rcpp-devel] Maximum Columns in Rcpp DataFrame (revisited)
Steffen Neumann
sneumann at ipb-halle.de
Tue Jul 8 17:51:53 CEST 2014
Hi,
I (think I) need to create a DataFrame with more than 20 entries,
because I want another slot in this file:
https://github.com/sneumann/mzR/blob/master/src/RcppRamp.cpp#L221
I stumbled upon a 2year old answer here:
http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2013-March/005430.html
Questions:
1) Should I avoid DataFrame here in first place ? I'd love to keep it
2) Is there a more elegant solution for >20 entries by now ?
3a) How do I create the mentioned "local header file with 21, 22, 23, ... \infty arguments as you need it."
3b) How and where do I #include that ? I need to fake a directory structure
so that <Rcpp/DataFrame.h> picks up my version of #include <Rcpp/generated/DataFrame_generated.h> ?
4) Is that future proof ?!
Thanks in advance,
Yours,
Steffen
--
IPB Halle AG Massenspektrometrie & Bioinformatik
Dr. Steffen Neumann http://www.IPB-Halle.DE
Weinberg 3 http://msbi.bic-gh.de
06120 Halle Tel. +49 (0) 345 5582 - 1470
+49 (0) 345 5582 - 0
sneumann(at)IPB-Halle.DE Fax. +49 (0) 345 5582 - 1409
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20140708/c3a219bf/attachment.sig>
More information about the Rcpp-devel
mailing list