On Sat, Jan 3, 2009 at 1:32 PM, wrote:
> I knowf R functions ca be called passing some parameters.
> My first question is: how are parameters passed to R functions ?
> Browsing through R archives I found an answer confirming taht parameters can
> be passed to the called function by value. I wond
On Sat, Jan 3, 2009 at 7:32 PM, wrote:
> I knowf R functions ca be called passing some parameters.
> My first question is: how are parameters passed to R functions ?
> Browsing through R archives I found an answer confirming taht parameters can
> be passed to the called function by value. I wond
io originale-
> Da: jim holtman [mailto:jholt...@gmail.com]
> Inviato: sab 03/01/2009 21.12
> A: mau...@alice.it
> Cc: r-h...@stat.math.ethz.ch; r-help@r-project.org
> Oggetto: Re: [R] passing parameters to an R script
>
> No you can not pass an address to a function. If you
: mau...@alice.it
Cc: r-h...@stat.math.ethz.ch; r-help@r-project.org
Oggetto: Re: [R] passing parameters to an R script
No you can not pass an address to a function. If you want to change
the value of something, then return it as a value and assign it to the
object so you can see what is going on. Mu
R's variable passing mechanism is not call by value, but a mixture of
unevaluated arguments (like the obsolete Lisp FEXPR) and call-by-need.
It is like FEXPR in that the function can capture the unevaluated
argument (using 'substitute'). But it is like call-by-need in that
normal use of the argum
No you can not pass an address to a function. If you want to change
the value of something, then return it as a value and assign it to the
object so you can see what is going on. Must be coming from the "C"
environment where such things are allowed and lead to a number of
problems.
If you really
I knowf R functions ca be called passing some parameters.
My first question is: how are parameters passed to R functions ?
Browsing through R archives I found an answer confirming taht parameters can
be passed to the called function by value. I wonder whether passing the
parameter
address is po
7 matches
Mail list logo