Open
Description
When writing an array with writedlm
on Windows, lines are not terminated with /r/n
.
julia> rnd = rand(2,2)
2x2 Array{Float64,2}:
0.417898 0.534031
0.593108 0.909771
julia> writedlm("out.txt", rnd)
-> .41789803012680227 .5340308732027403.5931077439922414 .9097713865838699
Expected behaviour: on a Windows system, the Windows line break would be used.
Julia Version 0.4.0
Commit 0ff703b* (2015-10-08 06:20 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.3
Activity