There is a list which I would like to output into an excel file as a single string. I start with a list of characters.
url=\"http://eutils.ncbi.nlm.nih.gov
The shortest method is to use the base toString function. In any case the output string will contain commas
vector<-c('A', 'B', 'C')
toString(vector)
if you don't want commas
gsub(",","",toString(vector))
If you want any other separator you can substitute anything you like in gsub instead of replacing commas with nothing