아래 참조 :
paste("perf.a", "1", sep="")
# [1] "perf.a1"
값을 할당하려면 perf.a1
어떻게 해야 합니까?
나는 시도 as.name
, as.symbol
아무 소용와 등 :
as.name(paste("perf.a", "1", sep="")) = 5
# Error in as.name(paste("perf.a", "1", sep = "")) = 5 :
# target of assignment expands to non-language object
as.symbol(paste("perf.a", "1", sep="")) = 5
# Error in as.symbol(paste("perf.a", "1", sep = "")) = 5 :
# target of assignment expands to non-language object
noquote(paste("perf.a", "1", sep="")) = 5
# Error in noquote(paste("perf.a", "1", sep = "")) = 5 :
# target of assignment expands to non-language object