# \#delimitedfiles

**URL:** https://discourse.julialang.org/tag/delimitedfiles/1544.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Reading text data: \`readdlm\` is deprecated, so how CSV package is used?](https://discourse.julialang.org/t/reading-text-data-readdlm-is-deprecated-so-how-csv-package-is-used/116955)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 9\
**Last updated:** [July 17, 2024, 5:45pm UTC](https://discourse.julialang.org/t/reading-text-data-readdlm-is-deprecated-so-how-csv-package-is-used/116955 "2024-07-17T17:45:49Z")

</div>

In the issue tracker of DelimitedFiles I found a comment readdlm is also effectively deprecated and the CSV package should be used about reading text data files. I’m trying to read a plain text file listing numbe…

---

## [Loading first few lines from data file](https://discourse.julialang.org/t/loading-first-few-lines-from-data-file/21412)

<div class="topic-metadata">

**Author:** [@iamsuddhasattwa](https://discourse.julialang.org/u/iamsuddhasattwa)\
**Replies:** 19\
**Last updated:** [March 30, 2020, 10:24pm UTC](https://discourse.julialang.org/t/loading-first-few-lines-from-data-file/21412 "2020-03-30T22:24:47Z")

</div>

Hi, I have a data file with 100 rows of data of the form 1 2 3 4 5 6.1 … I want to load the first 10 lines as a 10X2 array. However, I do not see any option in readdlm() for doing that, although it should be an easy…

---

## [Can I write a DelimitedFile with a header?](https://discourse.julialang.org/t/can-i-write-a-delimitedfile-with-a-header/27270)

<div class="topic-metadata">

**Author:** [@alvrg](https://discourse.julialang.org/u/alvrg)\
**Replies:** 2\
**Last updated:** [August 7, 2019, 3:04pm UTC](https://discourse.julialang.org/t/can-i-write-a-delimitedfile-with-a-header/27270 "2019-08-07T15:04:41Z")

</div>

Hi, I would like to save a matrix in txt format (I know there are better alternatives, but this is a two-liner). I can do that with using DelimitedFiles A = \[\[1 2\]; \[3 4\]\] writedlm("./data.txt", A) Can I also write a …
