Thank you both, it works! -- View this message in context: http://r.789695.n4.nabble.com/Beginner-question-How-to-replace-part-of-a-filename-in-read-csv-tp3384786p3386724.html Sent from the R help mailing list archive at Nabble.com.