mk_parameters_types function

Extract types (R and C++) of the parameters