[R] Error with stop()

From: <jgarcia_at_ija.csic.es>
Date: Fri, 15 Feb 2008 14:18:12 +0100 (CET)

I've used stop() previously without any problem. Now, I'm using a condition and getting an error when stop() is called.

Mi condition is:

if(dim(r.temp)[1] != (length(jul.names)+6)) stop("buffered data not available")

An the R' response is:

> source("my_program.R")

Error in eval.with.vis(expr, envir, enclos) :   buffered data not available

Can you help me with this?

Best regards,

R-help_at_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. Received on Fri 15 Feb 2008 - 13:21:59 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 15 Feb 2008 - 14:00:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive