I have a list that looks like this
l = {elem1, elem2, ...}
Where elem_={t, {d1,d2,d3} }
How can I export it? I tried Export["data.txt",l,"Table"]
, but it puts a whole elem
on the same line so the nested structure can't be restored. I suppose I could write a function to parse the txt file, but what is the correct way to do this?