Skip to content

Variables of a function called inside another one

1 message · JSHuang

#
Hi,

  Maybe I missed something.  The following example works.  It should not
cause any problem with the same parameter names since their scopes are
within the functions.
+ a+b+c+d}
[1] 10 14
+ newb <- b+1
+ newc <- c+1
+ newd <- d+1
+ function2(a,newb,newc,newd)}
[1] 13 17



--
View this message in context: http://r.789695.n4.nabble.com/Variables-of-a-function-called-inside-another-one-tp4702469p4702493.html
Sent from the R help mailing list archive at Nabble.com.