Update R/transfer.R

Completed support for rowname hierarchies