> I want to write a function that modify directly variables passed as > parameters (the equivalent in C language of *ptr/&ptr) so that I don't > have to return a list and to reaffect all my variables. Is it possible > to do so in R? Thanks a lot. You can use environments as they're passed by reference.