Wolski <wolski <at> molgen.mpg.de> writes:
>
> Hallo!
> ?assign
>
> z<-"now"
> assign(paste("go", z, sep = ".") ,10)
Assuming that you wish to create a variable called go.now with the
value of 10 in the caller environment to f:
R> f <- function(z) assign(paste("go", z, sep = "."), 10, parent.frame())
R> f("now")
R> go.now
[1] 10
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html