From jeff.horner at vanderbilt.edu  Mon Apr 16 18:57:21 2007
From: jeff.horner at vanderbilt.edu (Jeffrey Horner)
Date: Mon, 16 Apr 2007 11:57:21 -0500
Subject: [Rd] Documentation update to R-lang.texi
Message-ID: <4623AAF1.5000000@vanderbilt.edu>

Section 4.3.4 of R-lang.texi version 41191 in the paragraph that starts 
"When h(3) is..." explains that x and y are unbound variables in the 
function body of g in this example:

      f <- function(x) {
          y <- 10
          g <- function(x) x + y
          return(g)
      }
      h <- f()
      h(3)

while the paragraph following the example explains that "bound variables 
are those that match the formal arguments to the function." So wouldn't 
x be bound?

Jeff
-- 
http://biostat.mc.vanderbilt.edu/JeffreyHorner



[Rd] Documentation update to R-lang.texi
Jeffrey Horner