On Sat, 30 Jun 2007, Paul Laub wrote:
Dear all,
Does R offer a means by which a function can determine
whether its return value is assigned? I am using R
2.4.1 for Windows.
No
Suppose what I am looking for is called
return.value.assigned. Then one might use it like
this
myfunction
Dear all,
Does R offer a means by which a function can determine
whether its return value is assigned? I am using R
2.4.1 for Windows.
Suppose what I am looking for is called
return.value.assigned. Then one might use it like
this
myfunction - function () {
# Create bigobject here
Paul Laub wrote:
Dear all,
Does R offer a means by which a function can determine
whether its return value is assigned? I am using R
2.4.1 for Windows.
Short answer: No.
Long answer: You want to have a class for the object called bigobject
below and a print/show method that provides the