Thomas Lumley wrote: > foo <- local({ > n <- 4 > function(x) {x^n} > })
Bewdy! Thanks a lot. Slowly but slowly ( :-) ) I learn things! cheers, Rolf ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html