标签: r
对于for循环的第一遍,我想将Dir设置为等于"//RATES/@Original_Rates/GR-N240"。
Dir
"//RATES/@Original_Rates/GR-N240"
forms <- c("GR-N240", "GR-N250", "GR-N270", "GR-N280") for(i in forms) { Dir <- "//RATES/@Original_Rates/i" setwd(DIR) }