[Rd] Summary: too many arguments in foreign function call

Gregory R. Warnes greg@warnes.net
Sat, 4 Aug 2001 12:04:41 -0400


> John M. Chambers <jmc@bell-labs.com> wrote:
>
[snip]
> 
> Empirical evidence is that the limit in S-Plus is 128. (The call 
> manyArgs(N) constructs a .C with N arguments to a C routine (with 200 
> arguments)). 

OK.  I've modifed my patch to bring R's limits to 128, the same as in S-Plus, 
as well as noting that this is the limit in Foreign.Rd.   I suppose that this 
limit is as good as any, and at least means that code written and tested with 
S-Plus won't have to be changed to work with R and vice versa (at least for 
this reason). 

The patch has been uploaded to 
ftp://cran.r-project.org/incoming/dotcall_128.gz

(I hope this will make it into R-1.3.1)

-Greg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._