From: Fernando Saldanha <fsaldan1_at_gmail.com>

Date: Sat 16 Apr 2005 - 00:59:28 EST

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Apr 16 01:04:51 2005

Date: Sat 16 Apr 2005 - 00:59:28 EST

I discovered a bug in a program I am writing which was due to the
program using a global variable within a function.

That is, I made a mistake when defining the function and wrote "y" when I should have written "x".

> myfunc <- function(x, type = 'local') { y}

Error: using external variable

FS

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Apr 16 01:04:51 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:31:11 EST
*