Xiaofan Li wrote: > Hello guys, > > I am wondering the default way of transferring arguments in R. Is it by > value or by ref in default case, or could that be changed explicitly?
R passes by value. It's worth reading the language definition manual to find out about the subtleties (e.g. lazy evaluation). Duncan Murdohc > > Cheers, > Xiaofan > > --- > Xiaofan Li > Department of Applied Mathematics and Theoretical Physics > University of Cambridge > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html