: [Rcpp-devel] Limit of 20
For those interested, the few other instances can be found by looking under the
inst/include/Rcpp/generated/ folder:
https://github.com/RcppCore/Rcpp/tree/master/inst/include/Rcpp/generated
In the case of Vector__create.h, one would need to do some varidic templating
to
behalf of
Balamuta, James Joseph
Sent: Wednesday, December 15, 2021 12:10:12 PM
To: rcpp-devel@lists.r-forge.r-project.org
Subject: Re: [Rcpp-devel] Limit of 20
For those interested, the few other instances can be found by looking under the
inst/include/Rcpp/generated/ folder:
https
On 16 December 2021 at 06:38, Joseph Park wrote:
| As R itself has no practical limit, and, large, ugly parameter lists are
| sometimes unavoidable in API's, I respectfully request consideration to
| relax the limit as design and resources allow.
Please keep in mind that this project is provided
On 15 December 2021 at 20:10, Balamuta, James Joseph wrote:
| For those interested, the few other instances can be found by looking under
the inst/include/Rcpp/generated/ folder:
|
| https://github.com/RcppCore/Rcpp/tree/master/inst/include/Rcpp/generated
Yup, I mentioned the dir, but thanks f
For those interested, the few other instances can be found by looking under the
inst/include/Rcpp/generated/ folder:
https://github.com/RcppCore/Rcpp/tree/master/inst/include/Rcpp/generated
In the case of Vector__create.h, one would need to do some varidic templating
to abstract away from the
On 15 December 2021 at 10:19, Kevin Ushey wrote:
| I assume we're talking about Vector::create()? Anyone curious poking at it
| can start by looking here:
|
|
https://github.com/RcppCore/Rcpp/blob/940fb23868bf442e587994451e85263baa302d9c/inst/include/Rcpp/vector/Vector.h#L1122-L1126
There is mo
I assume we're talking about Vector::create()? Anyone curious poking at it
can start by looking here:
https://github.com/RcppCore/Rcpp/blob/940fb23868bf442e587994451e85263baa302d9c/inst/include/Rcpp/vector/Vector.h#L1122-L1126
On Wed, Dec 15, 2021 at 8:51 AM Dirk Eddelbuettel wrote:
>
> Joseph,
Joseph,
Sorry, can't quote your message as whatever you used confused my mail
handler. (Maybe try text-only next time if you remeber? I have had this
before, albeit very rarely.)
But it is a good idea. Someone with a bit of time should sit down and could do
this as we now have C++11 / C++14 as
Dear Rcpp,
I have seen several posts, and bumped into the ceiling of the 20
argument limit. In the 2017 FAQ, it is explained: Rcpp is
constrained by the older C++ standards which do not support variadic
function arguments.
I don't find mention of this in th
> From: Douglas Bates
> On Tue, Nov 1, 2011 at 3:32 PM, Michael Hannon wrote:
>>
>>
>> Greetings. It appears that there is a limit of 20 items in a list created
>> by;
>>
>> Rcpp::List:create
>> [...]
> Or go into Rcpp/inst/include/Rcpp/generated/vector__create.h and
> extend the limit of
Hi,
I recommend the following workaround instead...
std::vector _your_favorite_list;
_your_favourite_list.push_back(_whatever_);
_your_favourite_list.push_back(_whatever_);
_your_favourite_list.push_back(_whatever_);
_your_favourite_list.push_back(_whatever_);
_your_favourite_list.push_back(_wha
On Tue, Nov 1, 2011 at 3:32 PM, Michael Hannon wrote:
>
>
> Greetings. It appears that there is a limit of 20 items in a list created by;
>
> Rcpp::List:create
>
> I.e., the appended code works as expected if I omit all references to "x21",
> but fails with an error (shown below, after the co
Greetings. It appears that there is a limit of 20 items in a list created by;
Rcpp::List:create
I.e., the appended code works as expected if I omit all references to "x21",
but fails with an error (shown below, after the code example) when I include
"x21". (The successful output shown bel
13 matches
Mail list logo