[R] adding an argument to ...

cgenolin at u-paris10.fr cgenolin at u-paris10.fr
Tue May 6 02:53:51 CEST 2008


Hi the list

Is it possible to add one argument to the arguments contain in ... ?

I would like to do :

f <- function(ttt,...)[
    if(... does not contain the args uuu)
        [add uuu=3 to ...]
        else[]
    g(ttt,...)
]

More precisely, my function g is a callNextMethod()

Thanks

Christophe

PS: sorry for using [ instead of accolade, I am not in my contry and I 
do not manage to get the accolade on this ¤¦²¤£$¤@ keybord...



More information about the R-help mailing list