Php Call Function With Variable Names In R