Displaying 1 result from an estimated 1 matches for "driver_func".
2007 Nov 26
3
Communicating from one function to another
...gn a value to it, then use
it later. Seemingly, there are two cases:
Case I is if the variable is given its value at the top level.
Case II is if it is given its value inside a user-defined function. That I
do not know how to do.
Example:
func1 <- function (){
x23 <- 2.6
return ()
}
driver_func <- function (){
func1 ()
print (x23)
return ()
}
However, when I call driver_func, it won't work. Beginning with the load
operation, I get:
----------------------------------------------------------------
Type 'demo()' for some demos, 'help()' for on-line help, or
...