Removing .dat and .pin files in R script.