I am remming some files. First I create a list.
files_list<-list.files() Now I edit the list of files so I can manually arrange them in any order I want.
new_files_list<-edit(files_list) Using the file.rename function I am able to rename the files numerically. How can I modify the command below so it uses the file order I manually set in the above command?
file.rename(from = list.files(pattern="file*"), paste0(stem_file_name,numeric_renaming, ".abc"))