How to convert a .map file into csv file in R

3 posts were merged into an existing topic: How to remove some portion of all rows in a dataset