I would like to know if it is possible to make a function that defines a
variable in another function without setting that variable globally?
I would i.e. be able to define a variables value inside a function ("one
level above) which another function makes use of, without setting this
variable glo
Great!
That works perfectly sense. Thanks a lot!
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-define-a-variable-in-a-function-that-another-function-uses-without-using-global-variables-tp4307604p4307715.html
Sent from the R help mailing list archive at Nabble.com.
__
Yes, I'm sorry. There was a typo as you discovered.
Michael's solution worked fine.
I will anyway take a look at the "local" function as well. Thank you for
your help.
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-define-a-variable-in-a-function-that-another-function-use
3 matches
Mail list logo