dput(): turn into explicit while() loop