Dear Eik,

Am Freitag, den 29.07.2011, 15:46 +0200 schrieb Eik Vettorazzi:
> how about this
> for (i in 1:2) { print( do.call(paste("f",i,sep=""),list(2, 3) )) }
> 
> or using get
> for (i in 1:2) { print( get(paste("f",i,sep=""))(2, 3) ) }

works great for me. Thank you very much. Regarding search machines it is
sad that the names of these commands are so general – which is of course
a good thing when knowing them and using them.


Thanks,

Paul

Attachment: signature.asc
Description: This is a digitally signed message part

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to