Thomas Lumley wrote: > foo <- local({ > n <- 4 > function(x) {x^n} > }) Bewdy! Thanks a lot. Slowly but slowly ( :-) ) I learn things! cheers, Rolf