[R] How can I assign an argument to transfer whether by ref or by value?
Duncan Murdoch
murdoch at stats.uwo.ca
Sun Nov 6 05:50:00 CET 2005
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 at 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
More information about the R-help
mailing list