remove .Rdata and correct type