DelimitedFiles.jl icon indicating copy to clipboard operation
DelimitedFiles.jl copied to clipboard

A package for reading and writing files with delimited values (Originally a Julia stdlib)

Results 16 DelimitedFiles.jl issues
Sort by recently updated
recently updated
newest added

I expected that ``` writedlm("../products/[email protected]", (rand(3,6), ["one" "two" "three"]), header=true) ``` would write a csv with header line `one two three`. Instead it writes a two line csv with `rand(3,6)[:]`...

readdlm ignores all-white spaces by default when a delimiter is not specified. However, when one wants to specify the data type to be read it is obligatory to specify the...

So from my understanding, the `writedlm` function is used to write arrays to file. When writing an array with strings that have an escaped double quotation mark, unexpected output occurs....

help wanted
I/O
doc

When writing an array with `writedlm` on Windows, lines are not terminated with `/r/n`. ``` jl julia> rnd = rand(2,2) 2x2 Array{Float64,2}: 0.417898 0.534031 0.593108 0.909771 julia> writedlm("out.txt", rnd) ```...

windows

``` julia julia> english = readdlm(IOBuffer(readstring("/usr/share/dict/words")), ' ') 235886×1 Array{Any,2}: "A" "a" "aa" "aal" "aalii" "aam" "Aani" "aardvark" "aardwolf" "Aaron" "Aaronic" "Aaronical" "Aaronite" "Aaronitic" "Aaru" "Ab" "aba" "Ababdeh" "Ababua" "abac"...

bug
I/O
collections

In some countries comma is a decimal mark, but readdlm has no option to recognize it. So when I do x=readdlm("/home/ilya/Works/Julia/12.csv", ';') for file that contains numbers like 18,8205, then...

I/O

The following code ``` s = """ 1 2 3 4 5 6 start_other_section """ d = readdlm(IOBuffer(s), Int; dims=(2,3)) ``` Results in an error being thrown: ``` ERROR: at...

bug
I/O

- julia ver: 0.4.5 - os ver: win 10 ### reproduce: ``` julia julia> writedlm("emp.ty", []) julia> readdlm("emp.ty") ERROR: at row 0, column 0 : ArgumentError("number of rows in dims...

help wanted
stdlib

``` julia> io = IOBuffer("0x0\n0x1\n0x2") IOBuffer(data=UInt8[...], readable=true, writable=false, seekable=true, append=false, size=11, maxsize=Inf, ptr=1, mark=-1) julia> readdlm(io) 3×1 Array{Float64,2}: 0.0 1.0 2.0 julia> io = IOBuffer("0\n1\n2") IOBuffer(data=UInt8[...], readable=true, writable=false, seekable=true, append=false,...

I/O

In `readdlm` (and `readcsv`), the quotes option allows for columns that are enclosed within double-quote (”) characters to contain new lines and column delimiters. But if there is a space...

I/O