Skip to content
Back to formatted view

Raw Message

Message-ID: <23180.15314.196937.686051@rob.eddelbuettel.com>
Date: 2018-02-20T15:16:34Z
From: Dirk Eddelbuettel
Subject: [R-pkg-devel] MAX_ARGS limitation in foreign function calls
In-Reply-To: <CACsjJ_ejptarQj2UuT00+frYdAwnT_KeH1xKcQYgz4MO2cX-Aw@mail.gmail.com>

On 20 February 2018 at 09:33, Udaya B. Kogalur wrote:
| We are hitting the MAX_ARGS ceiling in our R-C function calls in the
| development of randomForestSRC.  This limits to number of arguments to
| 65 using .Call().  Is there a work around for this dilemma?  Thank
| you.

The easiest is to avoid the problem by using one or more of your SEXP objects
as lists and simply nest other arguments inside the list object.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org