Hi, I am a new to R. I am using C language to write the code and I am calling R functions from C ( I am including R.h, Rmath.h etc. in C code). I would like to know which header file contains the general arithmetic functions(mean etc.) so that I can add that in my C code. I searched in internet but I am getting only one example which calls 'rnorm' function from C code. and 'rnorm' is defined in Rmath.h So pls help in identifying the header files which contains the arithmetic functions -- Prateep Kumar Research & Modelling Analyst IGSA Labs Pvt.Ltd. <http://igsalabs.com/> Hyderabad India +91 9492846550 [[alternative HTML version deleted]]