From gregory_r_warnes@groton.pfizer.com  Tue Jul 17 00:52:30 2001
From: gregory_r_warnes@groton.pfizer.com (Warnes, Gregory R)
Date: Mon, 16 Jul 2001 19:52:30 -0400
Subject: [R] RE: [Rd] too many arguments in foreign function call
Message-ID: <5429125E11E4D411AF7300805FE603A8014CEC7B@groexmbcr02.pfizer.com>

  > From: Robert Gentleman [mailto:rgentlem@jimmy.harvard.edu]
  > 
  > Greg,
  >   you might be better off writing a wrapper,
  >    
  >   R->foo where foo has less than 65 args and does nothing more than
  >   unpack them and calls bar (the original) with as many args as you
  >   want, not much code change and not much cost...


Hi Rob,

[BTW, sorry about the crosspost to R-help.  Mean't to continue the
discussion on R-devel, but miss-typed.]

Actually, the original author used the function with 85 arguments in S-Plus.
Rather than adding a new wrapper function, I wanted to fix the (in my
opinion) artificial limit of 65 parameters and let them keep the same exact
source file between R and S-Plus.  

-Greg






  > 
  > -- 
  > +-----------------------------------------------------------
  > ----------------+
  > | Robert Gentleman                 phone : (617) 632-5250   
  >                 |
  > | Associate Professor              fax:   (617)  632-2444   
  >                 |
  > | Department of Biostatistics      office: M1B28
  > | Harvard School of Public Health  email: 
  > rgentlem@jimmy.dfci.harvard.edu   |
  > +-----------------------------------------------------------
  > ----------------+
  > 


LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[R] RE: [Rd] too many arguments in foreign function call
Warnes, Gregory R