[R-pkg-devel] MAX_ARGS limitation in foreign function calls

Dirk Eddelbuettel edd at debian.org
Tue Feb 20 16:16:34 CET 2018


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



More information about the R-package-devel mailing list