non-racy patterns in ddply