[R] R and C - variable by reference
Naira
nanao at psb.ugent.be
Thu May 15 11:10:08 CEST 2008
Hi all,
I would like to know if it is possible in R to give a the reference of a
variable in a function; in order to be able to change the variable in the
function and to keep the change when the function ended.
In other words, is it possible to code this following C code in R:
void functionName(int &var){}
Thanks a lot,
Naira
--
View this message in context: http://www.nabble.com/R-and-C---variable-by-reference-tp17249053p17249053.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list