Hello Guys! I've written a few functions in C (actually jacobi polynomials and thermodynamic properties of moist air) and I was wandering what is the best way to vectorize the calls so that it will work as a standard R function (say 'sin' or 'atan1' for example) and follow the recycling rules. Do you think it's better to do it inside R or implement that in my C code or is there any standard way to do it already implemented? Thanks for any suggestion Paulo Jabardo IPT