save txt to RData