[R] Assigning several lists to variables whose names are contained in other variables
m|n@h@|| @end|ng |rom um|ch@edu
Fri Apr 9 12:35:40 CEST 2021
> result <- assign(paste("subnet_", val, sep = "")
> result <- my_function(val)
i don't understand why you are twice assigning to =result=. also, the
first assignment doesn't seem well formatted (t's missing a value?).
did you mean something like
: assign(paste("subnet_", val, sep = ""), my_function(val))
(which i would think should work)?
More information about the R-help