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]

Reply via email to