rename multiple files in a folder using R [duplicate]
问题 This question already has answers here : How do I rename files using R? (2 answers) Closed 5 years ago . I have a folder which contains several files named by the date the data was measured. For example: "07182014.csv","07192014.csv"... Since I have multiple stations for the measurements, I would like to add the station number before each file name for distinguish purposes. For example, the file "07182014.csv" will become "N1_07182014.csv". I'm new to R, and most of the time I search the web