I would like to melt this:
test = list( one = "joe" , two = c( "john" , "jane" ) )
In character vector:
c( "joe" , "john" , "jane" )
I tried melt () in the reshape package, but the result is data.frame, where the rows are treated as factors, so I will need to do something like:
as.character( melt( test )$value )
Is there a shorter / faster way?
source
share