How dare you ask this? Was it just to get into a programming memes page?

https://suppo.fi/post/362982

How dare you ask this? Was it just to get into a programming memes page? - suppo.fi

The audacity to do such a thing…

In R:

assign("x", value)

Within a loop would be:

for(i in 1:10){ assign(paste0("baseName", i), i*value) }``` And you can also use get() in the same way to dynamically retrieve a variable. I've gone so far into programming debauchery that I've dynamically assigned variables from dynamically retrieved ones, and I've done so fairly frequently.

Legit thank you.

I’ve wondered on the right way to do this in R… Too many times.