On Mon, Mar 24, 2014 at 4:30 PM, Rich Shepard <rshep...@appl-ecosys.com> wrote: > On Thu, 20 Mar 2014, Gabor Grothendieck wrote: > >> Try this: >> opar <- par(pin = c(5, 2)) >> plot(zoo(1:3)) >> par(opar) > > > Gabor, > > > opar <- par(pin = c(5, 2)) >> >> plot(s95.z(1:3)) > > Error in plot(s95.z(1:3)) : > error in evaluating the argument 'x' in selecting a method for function > 'plot': Error: could not find function "s95.z" > >> par(opar) > > >> or this: >> windows(width = 5, height = 2) # or x11 >> plot(zoo(1:3)) >> dev.off() # close window > > > windows(width = 5, height = 2) > Error: could not find function "windows"
In the first case the error message seems pretty clear to me. You have not invoked but not defined a function called s95.z. In the second case you are probably not using Microsoft Windows so there is no windows() function. As pionted out in my original reply you might need to use x11. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.