On Tue, 16 Dec 2003, Manoj - Hachibushu Capital wrote: > Hi All, > I am trying to write a c function to optimize loop processing. > Having read the R extension and trying out a few samples I was pretty > comfortable with the basics. > > However, I am wondering if there is anyway to call tseries > functions like adf.test or po.test from within c function. Any pointers/ > code sample would be greatly appreciated.
Yes, this is described with code samples in `Writing R Extensions', in the section `Evaluating R expressions from C'. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help