the function to create a function type was not avaiable in R. This patch creates the R stub to access the C function.