[R] Batch file rename basing on a look up table need help_New to R_A little bit complicated

wxx3dodu wxx3dodu at hotmail.com
Sun Jul 1 04:52:44 CEST 2012


Hello, all
I'm pretty new to R and I wish to accomplish the following task

I have many files need to do this task. I simplify the situation to five
files. Their names are
001
232
242
123
132

I'd like to change the name of each file (column 1) to the name in column 2
in the following table
column1    column2
001              ewr
232              eda
242              gdg
123              sgs
132              ger

I'm wondering if anyone could point out a way to do it.
Thank you very much in advance!



--
View this message in context: http://r.789695.n4.nabble.com/Batch-file-rename-basing-on-a-look-up-table-need-help-New-to-R-A-little-bit-complicated-tp4635015.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list