Here is my try:

```
function read_dataset(filename, V::Type{SVector{D, T}}, sep::Char = ',') where {D, T}
data = SVector{D, T}[]
open(filename) do io
for ss in eachline(io)
s = split(ss, sep)
push!(data, V(ntuple(k -> parse(T, s[k]), Val(D))))
end
end
return data
end
```

I feel like this is completely “wrong” though, because when I checked the source code for `readdlm`

it seems super complicated and to understand it I would have to go very deep.

So my simple question is if there is already an existing method that loads a text file directly as a `Vector{SVector}`

and not as a Matrix?

*Notice* : Reinterpret cannot work here because for 99.9% of datafiles I will need to load, the row axis is the “SVector” axis, and the column axis gives the discrete data points, e.g.:

-0.3999999999999999,0.3

1.076,-0.11999999999999997

-0.7408864000000001,0.32280000000000003

0.554322279213056,-0.22226592

etc. This means that I would first need to `transpose`

the matrix, which does not really seem efficient?