Skip to content
Prev 366005 / 398502 Next

Assign a list to one column of data frame

If you see my previous example, I have tried something like
However, in my case, the name of the new column is in a variable (by
user input) which can not be directly used by the dollar assign. On the
other hand, "[<-" does not work correctly even if I wrap the list into
"I()".

Perhaps the title of my email is a little unclear, sorry for the case.

Best,
Marlin.
On Sun, 2016-12-11 at 03:03 -0800, Bert Gunter wrote: