r:generate data for attach() by own