Skip to content

object not found - Can not figure out why I get this error: Error in NROW(yCoordinatesOfLines) : object 'low' not found

2 messages · Samo Pahor, ilai

1 day later
#
Ah, scoping rules...
Consider:
f <- function(x,...) plot(x,xlim=c(low,high),...)
f(1:10,low=2,high=9)  # "Error ...  object 'low' not found "

But:

f <- function(x,low,high,...) plot(x,xlim=c(low,high),...)
f(1:10,2,9,col=2)  # beautiful red points [low,high]

Sorry I can't be more specific but never heard of quantmod.
Hope this helps anyway.
On Sat, Feb 11, 2012 at 7:43 AM, Samo Pahor <samo.pahor at gmail.com> wrote: