Updated to use Rdata rather than .dat file.