Amendment, transform doesn't change in place - it returns a modified copy that has to be assigned the same way as within. So it's really a case of needing a multi-update. On 5/29/2012 11:18 AM, Yike Lu wrote: > X=within(X, {...}) #versus > transform(X)