标签:type ace pap setw r语言 second new file 文件
myfilepath <- "F:/paper2/climateExposure/wjj_mec/second/paths/"
setwd(myfilepath)
alltypefiles = dir(myfilepath)
newname = gsub(pattern = ‘paths.‘,replacement = ‘paths_‘,x = alltypefiles)
file.rename(alltypefiles,newname)
标签:type ace pap setw r语言 second new file 文件
原文地址:https://www.cnblogs.com/arcserver/p/9974739.html