# Macros files missing for Primer tutorial

**URL:** <https://root-forum.cern.ch/t/macros-files-missing-for-primer-tutorial/40372>\
**Category:** Newbie\
**Created:** [July 11, 2020, 1:56pm UTC](https://root-forum.cern.ch/t/macros-files-missing-for-primer-tutorial/40372 "2020-07-11T13:56:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fsili](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/6de8d8/32.png) [@fsili](https://root-forum.cern.ch/u/fsili)\
**Post date:** [July 11, 2020, 1:56pm UTC](https://root-forum.cern.ch/t/macros-files-missing-for-primer-tutorial/40372/1 "2020-07-11T13:56:03Z")

</div>

Hi there!

I recently installed ROOT and I’ve been going through the first examples in [ROOT Primer](https://root.cern/primer/).

However, there, they reference a lot of text files, such as `ExampleData.txt`, `expo.dat` or `macro2_input_expected.txt`, but I cannot find these in any folder where root was installed: `/usr/local/root_install/`.

Moreover, I don’t have the macro file `slits.C` in the `/usr/local/root_install/macros` folder, and that seemed a little weird, because all tutorials assume that I have it already.

Does anyone know where I can find these files? Or where I am supposed to download them?

Thank you very much for your time.

* * *

_ROOT Version:_ 6.22/01  
_Platform:_ MacOS Catalina 10.15.4  
_Compiler:_ Not Provided

* * *

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [July 11, 2020, 2:08pm UTC](https://root-forum.cern.ch/t/macros-files-missing-for-primer-tutorial/40372/2 "2020-07-11T14:08:51Z")

</div>

Thanks, I just opened a [Github issue](https://github.com/root-project/web/issues/326). In the meanwhile, take a look there: [https://github.com/root-project/NotebookPrimer/tree/master/data](https://github.com/root-project/NotebookPrimer/tree/master/data)

---

<div class="post-metadata">

**Author:** ![fsili](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/6de8d8/32.png) [@fsili](https://root-forum.cern.ch/u/fsili)\
**Post date:** [July 11, 2020, 2:38pm UTC](https://root-forum.cern.ch/t/macros-files-missing-for-primer-tutorial/40372/3 "2020-07-11T14:38:48Z")

</div>

Thank you very much!

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [July 21, 2020, 1:05pm UTC](https://root-forum.cern.ch/t/macros-files-missing-for-primer-tutorial/40372/4 "2020-07-21T13:05:16Z")

</div>

The files you are looking for are [here](https://github.com/root-project/root/tree/master/documentation/primer/macros).  
I will add a link to this web page from the ROOT Primer page.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [July 21, 2020, 1:26pm UTC](https://root-forum.cern.ch/t/macros-files-missing-for-primer-tutorial/40372/5 "2020-07-21T13:26:40Z")

</div>

I did a PR to add a direct link, from the primer, to the macros and data files.

> <https://github.com/root-project/web/pull/339>

---

<div class="post-metadata">

**Author:** ![fsili](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/6de8d8/32.png) [@fsili](https://root-forum.cern.ch/u/fsili)\
**Post date:** [July 21, 2020, 1:29pm UTC](https://root-forum.cern.ch/t/macros-files-missing-for-primer-tutorial/40372/6 "2020-07-21T13:29:20Z")

</div>

Thank you very much for your help!
