I'd like to create 3 empty lists and assign them to different variables.
blue <- list()
green <- list()
red <- list()
Is there a possibility of a simultaneous assignment?
I'd like to create 3 empty lists and assign them to different variables.
blue <- list()
green <- list()
red <- list()
Is there a possibility of a simultaneous assignment?
Copyright © 2021 Jogjafile Inc.
Yes, it's possible.
Note, that the lists at first have the same memory address,
but it will change as soon the objects are manipulated (i.e. a copy is created).