Yes, you can convert c program to R-program easily. For example, you have C programming that you think to change in R programming. you want to call from an R script. Specifically, you wish to pass data from R into the C, and using function call you can function return the results to r environment
syntax:-ComputeFunctionR(ScalarParam, InputVector)