Skip to content
Prev 389140 / 398506 Next

Evaluating lazily 'f<-' ?

On 9/13/2021 11:28 PM, Andrew Simmons wrote:
I meant:

'*tmp*' <- x; # "x" is evaluated here;

'r<-' is called after this step, which makes sense in the case of 
subsetting;


But I am wondering if changing this behaviour, when NO subsetting is 
performed, would have any impact.

e.g. names(x) = c("some names");

# would it have any impact to skip the evaluation of "x" and call directly:

'names<-'(x, value);


Leonard