[R] [FORGED] Error in curve 'expr' did not evaluate to an object of length 'n'

Rolf Turner r.turner at auckland.ac.nz
Sun Mar 5 23:55:00 CET 2017

On 04/03/17 01:43, Allan Tanaka wrote:
> Please help. I try to re-produce R-script by plotting a set of functionWhen i running code: plot(Vectorize(running.acf.max))it gets the error message like this: Error in curve(expr = x, from = from, to = to, xlim = xlim, ylab = ylab,  :   'expr' did not evaluate to an object of length 'n'
> Even though i have vectorized the function argument.

Your example is not reproducible.  We do not have the file 


Rolf Turner

Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276

More information about the R-help mailing list