How to save Set ? julia> Sunikalne Set([“WYMYŚLA”, “PRZEPRZĘGAJĄCE”]) julia> typeof(Sunikalne) Set{String} julia> eltype(Sunikalne) String julia> write(“Sunikalne.txt”,Sunikalne) ERROR: MethodError: no method matching write(::IOS
to bin file not works , any other idea? Paul
using DelimitedFiles writedlm("Sunikalne.txt", Sunikalne)
Thnaks
julia> readdlm("Sunikalne.txt") 100×1 Array{Any,2}:
but readdlm() always is reading 1 column as array nx2
to read must use vec. Is another way to keep nx1 dimenssion ?
vec(readdlm("Sunikalne.txt"))
Paul