Re: [R] call by reference

2006-12-21 Thread Gabor Grothendieck
, a) print (a) #9 print (b) #3 #only this call is ok - Original Message From: Prof Brian Ripley [EMAIL PROTECTED] To: biter bilen [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Sent: Wednesday, December 20, 2006 11:04:08 AM Subject: Re: [R] call by reference Can you tell us

Re: [R] call by reference

2006-12-20 Thread Prof Brian Ripley
Can you tell us what you want to do with 'pass/call by reference'? If you want an R function to alter its argument then it is possible (KalmanLike is an example), but it should only be possible via C code. And if you know enough to do that, you probably would not be asking (and definitely not

Re: [R] call by reference

2006-12-20 Thread guillet
Can you tell us what you want to do with 'pass/call by reference'? If you want an R function to alter its argument then it is possible (KalmanLike is an example), but it should only be possible via C code. And if you know enough to do that, you probably would not be asking (and definitely

Re: [R] call by reference

2006-12-20 Thread biter bilen
[EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Sent: Wednesday, December 20, 2006 11:04:08 AM Subject: Re: [R] call by reference Can you tell us what you want to do with 'pass/call by reference'? If you want an R function to alter its argument then it is possible (KalmanLike is an example

Re: [R] call by reference

2006-12-20 Thread Henrik Bengtsson
There is no support for 'call by reference' in the S language, and this is intentionally, but you can use environments to imitate it, cf. ?environment. See also the R.oo package. /Henrik On 12/20/06, biter bilen [EMAIL PROTECTED] wrote: Can anyone help me about pass by reference of arguments

[R] call by reference

2006-12-19 Thread biter bilen
Can anyone help me about pass by reference of arguments in R functions? I have read about .Alias in base package however it is defunct and there is no replacement for it. Thanks in advance. __ R-help@stat.math.ethz.ch mailing list