[Rd] Autocovariance function (PR#438)

Prof Brian D Ripley ripley@stats.ox.ac.uk
Tue, 15 Feb 2000 07:53:20 +0000 (GMT)


On Tue, 15 Feb 2000 lamkel@yahoo.com wrote:

> I am reporting some problems with the autocovariance
> function (acf) with the following facts:
> 
> First I defined a time series, x, which is a vector
> created by x <- ts(rnorm(200)).  Then I plugged the
> series directly into the acf function, acf(x) and an
> error message popped up as:
> 
> Error in .C("acf", as.double(x), s.integer(sampleT),
> as.integer(nser),  : C/Fortran function name not
> in load table.
> 
> I did the library ts but the problem still persists.

There is too little information here: please use bug.report() to submit bug
reports, and give the exact code you used so we can try exactly the same
thing. A good quick test is to run

library(ts)
example(acf)

However,

library(ts)
x <- ts(rnorm(200))
acf(x)

also works on all my (0.90.1 from a later message) systems, so I suggest
you re-build and re-install R, and run make check as that will run the acf
examples.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
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

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._