Displaying 1 result from an estimated 1 matches for "tp25803308p25803347".
Did you mean:
tp25803308p25803308
2009 Oct 08
4
external variable by inside-function routines modifications
Dear all,
could you please advice whether it is possible somehow to modify an
external (from the point of some function view) variable by some
function-internal operators. For example
> var=1
> foo<-function(var){var=var+1}
> foo(var)
> var
[1] 1
but the goal is to get the var equal to 2 in this specific case.
Thanks!
--
View this message in context: