Skip to content
Prev 44808 / 63424 Next

Small changes to big objects (1)

On 1/7/13 9:59 AM, Douglas Bates wrote:
Not in the direction you were hoping, as far as I can tell.

Nested replacement expressions in R and S are unraveled and done as 
repeated simple replacements.  So either way you end up with, in effect
   x at little <- something

If x has >1 reference, as it tends to, EnsureLocal() will call duplicate().

I think the only difference is that your second form gets you to 
duplicate the little vector twice. ;-)

John