I am using R to create a variable which can increment after certain operations. i.e., I have a variable called node and I want to write a function to increment it like node1, node2, node3..etc., each time the function is called.
Is this possible? Please help