Hi,
I wonder if the following is possible in R:
Suppose a function takes an argument, and wants to modify this argument
so that the change is visible _at the call side_. It would be what is
for example known as pass-by-reference-to-non-const in C++.
test - function(x)
{
x - 10
...
return
Thomas Mang thomas.mang at fiwi.at writes:
I wonder if the following is possible in R:
Suppose a function takes an argument, and wants to modify this argument
so that the change is visible _at the call side_. It would be what is
for example known as pass-by-reference-to-non-const in C++.
On Fri, 13 Mar 2009, Thomas Mang wrote:
Hi,
I wonder if the following is possible in R:
Suppose a function takes an argument, and wants to modify this argument so that the change is visible _at the call side_. It would be what is for
example known as pass-by-reference-to-non-const in C++.
Dieter Menne wrote:
Thomas Mang thomas.mang at fiwi.at writes:
I wonder if the following is possible in R:
Suppose a function takes an argument, and wants to modify this argument
so that the change is visible _at the call side_. It would be what is
for example known as
4 matches
Mail list logo