[R] Change file name
    arun 
    smartpink111 at yahoo.com
       
    Mon Feb  3 16:48:51 CET 2014
    
    
  
Hi,
Check ?file.rename()
http://stackoverflow.com/questions/10758965/how-do-i-rename-files-using-r
A.K.
I have list of files in folder 
e.g p126r62_5t19880613_nn1.tif.gz 
     p126r62_5t19880613_nn2.tif.gz 
     p200r65_5t19880613_nn1.tif.gz 
and I would like to change file name to 
     LT512606219880613XX_B1.tif.gz 
     LT512606219880613XX_B2.tif.gz 
     LT520006519880613XX_B1.tif.gz 
Does any body knows how It can be changed?
    
    
More information about the R-help
mailing list