system.dataset.dataSetToCSV returns a dataset as a sequence of comma separated variables, with each line of the dataset separated by a carriage return. This means that if you pass it a vertical column of data (say from a list), it outputs a series of strings separated by carriage returns rather than commas.
Would it be possible if there is only one column of data in the dataset to return that column using commas to separate the strings?