@@ -1163,6 +1163,24 @@ Specific per-platform notes:
1163
1163
Fedora and other distributions should have similar packages.
1164
1164
\end {description }
1165
1165
1166
+ \subsection {Why is there a limit of 20 on some constructors? }
1167
+
1168
+ \begin {quote }
1169
+ \emph {Ok, I would like to pass $ N$ object but you only allow 20. How come? }
1170
+ \end {quote }
1171
+
1172
+ In essence, and in order to be able to compile it with the largest number of
1173
+ compilers, \pkg {Rcpp} is constrained by the older C++ standards which do not
1174
+ support variadic function arguments. So we actually use macros and code
1175
+ generator scripts to explicitly enumerate arguments, and that number has to stop
1176
+ at some limit. We chose 20.
1177
+
1178
+ A good discussion is available at
1179
+ \href {http://stackoverflow.com/questions/27371543}{this StackOverflow question}
1180
+ concering data.frame creation with \pkg {Rcpp}. One solution offers a custom
1181
+ \code {ListBuilder} class to circumvent the limit; another suggests to simply
1182
+ nest lists.
1183
+
1166
1184
1167
1185
\section {Support }
1168
1186
@@ -1245,11 +1263,12 @@ Yes. Just send us an email.
1245
1263
1246
1264
From late 2008 to late 2013, we used the
1247
1265
\href {https://r-forge.r-project.org/scm/?group_id=155}{Subversion repository at R-Forge}
1248
- which contained Rcpp and a number of related packages. It still has the full
1266
+ which contained \pkg { Rcpp} and a number of related packages. It still has the full
1249
1267
history as well as number of support files.
1250
1268
1251
1269
We have since switched to a \href {http://github.com/RcppCore/Rcpp}{Git
1252
- repository at Github} for Rcpp (as well as for RcppArmadillo and RcppEigen).
1270
+ repository at Github} for \pkg {Rcpp} (as well as for \pkg {RcppArmadillo} and
1271
+ \pkg {RcppEigen}).
1253
1272
1254
1273
\bibliographystyle {plainnat}
1255
1274
\bibliography {Rcpp}
0 commit comments