[R] Help Help!

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Feb 11 08:01:44 CET 2000

On Thu, 10 Feb 2000, Kelvin Lam wrote:

> Hello!  I have two questions.
> First of all, I have a problem dealing with acf
> (Autocovariance function) and need help.  First I
> defined a time series, x, which is a vector created by
> x <- ts(rnorm(200)).  So 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), as.integer(sampleT),
> as.integer(nser),  : C/Fortran function name not in
> load table
> I downloaded R to my PC and am thinking if it's
> anything to do with the operating system.  Please help
> me out!

Look at ?bug.report to find out how to send a bug report with the 
information we need, like the version of R in use.

Let me check one thing. You did do library(ts) and got no
error messages? Your example does work in a proper install of 
rw0901 (if you have Windows on your PC, that is).

> The second question is about arima simulation.  I have
> an AR and MA process and need to simulate 200
> observations from these two models.  Don't know how to
> do.

Look at the example in ?filter in library(ts). That will
almost certainly not work if acf does not, though.

Brian D. Ripley,                  ripley at 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-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list