How to assign from a function which returns more than one value?

(1) list[…]<- I had posted this over a decade ago on r-help. Since then it has been added to the gsubfn package. It does not require a special operator but does require that the left hand side be written using list[…] like this: library(gsubfn) # need 0.7-0 or later list[a, b] <- functionReturningTwoValues() If you … Read more