translate               Translate an R function into C++
