0

I have 18000 RData files, and I want to convert them to a separate or merged (whichever is possible) CSV files. I know how to convert one file, but since I am new to using R, I don't know how to do that with many data files.

Any help would be good. Thank you!

Merora
  • 13
  • 2
  • How are these data stored (are they all in the same directory)? How do you import them and are they all identically structured? – Martin Gal Dec 11 '22 at 00:54
  • @MartinGal Yes, they are all identical and in the same directory. – Merora Dec 11 '22 at 08:55
  • They have common columns – Merora Dec 11 '22 at 08:56
  • Please make a [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) or [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) with a sample input. – Martin Gal Dec 11 '22 at 13:42
  • 1
    Make a list of .csv files in that directory with `list.files` and loop through rhat with `for` – kjetil b halvorsen Dec 11 '22 at 15:14

0 Answers0