[Rd] change function's formals default values

From: Andrew Finley <afinley_at_stat.umn.edu>
Date: Tue 04 Apr 2006 - 01:39:19 GMT


I'm passing a user defined function into my c code. Once this function is in my c code, I'd like to iteratively change the values associated with the parameters defined in the function's formal list then evaluate the function using these newly set defaults (i.e., using lang1(fn)).

My question is, how do I simply change the value associated with each parameter in this function's formal list. I have messed around with the SET_FORMAL function but can't figure out how to change these values.



Research Fellow
Department of Forest Resources
University of Minnesota
Office: 305 Green Hall
Phone: (612) 624-1714
Fax: (612) 625-5212
web: http://blue.fr.umn.edu

R-devel@r-project.org mailing list
Received on Tue Apr 04 12:05:01 2006

This archive was generated by hypermail 2.1.8 : Tue 04 Apr 2006 - 16:16:59 GMT