Hi Ferri, It sounds like the function 'separate' from the tidyr package is what you look for,
HTH Ulrik On Tue, 22 Nov 2016 at 14:49 Ferri Leberl <ferri.leb...@gmx.at> wrote: Dear All, I asked for support to deal with a hirarchy within a character separated list. I solved the problem crudely but effectively by - Choosing for a TSV as input, where in columns that may contain several (or as well no) items the items are separated via semicolon - adding semicolons to the first row to grant that the first row has the maximum number of semicolons of this column - grasping the column(x<-myarray[,y], where y is some integer value) and saving it as a TSV (with only one column) - importing it again, defining it semicolumn-separated, with fill option To all those who feel pain reading this: Is there a shortcut? Thank you in advance. Yours, Ferri ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.