If I understand what you need, > Number=2 > x <- paste("NameOfFunction",as.character(Number),sep="") > x [1] "NameOfFunction2" And you can use do.call(x, ...) to "get" your function. Hope it helps, Scionforbai