Skip to content
Prev 2339 / 29559 Next

Converting a dataframe to a character vector

Thanks Gabor for your help. Is there a way to avoid this section?

 > Lines <- "Repens
 > +  Laurifolia
 > +      Repens
 > +  Laurifolia
 > +  Laurifolia
 > + "

I have simplified the dataset somewhat. The real dataset has over 100 
entries and it would be rather tedious to have to enter each one separately.

Thanks,
Rob Taylor
Gabor Grothendieck wrote: