# Function hist() not found

**URL:** <https://discourse.julialang.org/t/function-hist-not-found/8290>\
**Category:** General Usage\
**Created:** [January 11, 2018, 1:35pm UTC](https://discourse.julialang.org/t/function-hist-not-found/8290 "2018-01-11T13:35:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_Lin](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@Bob\_Lin](https://discourse.julialang.org/u/Bob_Lin)\
**Post date:** [January 11, 2018, 1:35pm UTC](https://discourse.julialang.org/t/function-hist-not-found/8290/1 "2018-01-11T13:35:48Z")

</div>

I am currently learning the Julia Language in JuliaBox and now I face a small problem.

When I try to call it or enter ?hist, it seems to be undefined.

with the message:

* * *

No documentation found.

## Binding hist does not exist.

Is this my problem? Or any suggestion to solve this problem.

Many thanks

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [January 11, 2018, 1:46pm UTC](https://discourse.julialang.org/t/function-hist-not-found/8290/2 "2018-01-11T13:46:47Z")

</div>

There is no `hist`. Also, [how to quote code](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530).

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 11, 2018, 1:52pm UTC](https://discourse.julialang.org/t/function-hist-not-found/8290/3 "2018-01-11T13:52:54Z")

</div>

AFAICT there was a `StatsBase.hist`, but it was superseded by [`fit(Histogram, ...)`](https://juliastats.github.io/StatsBase.jl/stable/empirical.html). If you are following some tutorial, it may be outdated. Better read the manuals.

PS.: Strangely, `hist` is [still exported](https://github.com/JuliaStats/StatsBase.jl/blob/master/src/StatsBase.jl#L131), but no longer defined.

---

<div class="post-metadata">

**Author:** ![Bob\_Lin](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@Bob\_Lin](https://discourse.julialang.org/u/Bob_Lin)\
**Post date:** [January 11, 2018, 3:16pm UTC](https://discourse.julialang.org/t/function-hist-not-found/8290/4 "2018-01-11T15:16:46Z")

</div>

Thanks you for your answering.

What confuses me now is that one can still find hist() in Julia’s function list. That’s weird.

On the other hand, as you said, there is indeed a function similar to hist() if one add the statistical package.
