[Solved] R: Remove list type within dataframe
Try to do this library(‘stringr’) apply(data, 1, function(x) str_c(x$columnnane,collapse=”,”)) where, data is you dataframe and columnname is the column containing list. edited answer out = do.call(rbind, lapply(data, function(x) str_c(x,collapse=”, “))) where data is your list object if the list is stored inside a dataframe then pass the column in place of the data above like … Read more