No need to apologize – I was just trying to figure out if there was supposed to be an image there or something.
On Mon, Apr 13, 2015 at 11:58 AM, JKpie <[email protected]> wrote: > > Thank you very much Mauro and Peter, hdf5 and JLD is a good solution. > I just didn't know if it was a standard behavior of writedlm and readdlm > functions. > > Stefan: I do apologize for the white space in the massage. It was > copy-pasted output from Juno console and I have noticed that the space > appeared when the message was posted. > > thank you once again for quick answer, > Jakub > > > > On Monday, April 13, 2015 at 5:13:20 PM UTC+2, Peter Simon wrote: >> >> Also, if you don't need a .csv file, consider using the HDF5 and JLD >> packages which preserve the types of stored values: >> >> julia> a = [1.,2.,3.,4] >> 4-element Array{Float64,1}: >> 1.0 >> 2.0 >> 3.0 >> 4..0 >> >> >> julia> b = Vector{Float64}[copy(a),2*copy(a),3*copy(a)] >> 3-element Array{Array{Float64,1},1}: >> [1.0,2.0,3.0,4.0] >> [2.0,4.0,6.0,8.0] >> [3.0,6.0,9.0,12.0] >> >> julia> using HDF5, JLD >> >> julia> save("myfile.jld","b",b) >> >> julia> c = load("myfile.jld","b") >> 3-element Array{Array{Float64,1},1}: >> [1.0,2.0,3.0,4.0] >> [2.0,4.0,6.0,8.0] >> [3.0,6.0,9.0,12.0] >> >>
