# Example Iris Dataset not running

**URL:** <https://discourse.julialang.org/t/example-iris-dataset-not-running/8906>\
**Category:** General Usage\
**Tags:** question, package, plotting\
**Created:** [February 7, 2018, 6:39pm UTC](https://discourse.julialang.org/t/example-iris-dataset-not-running/8906 "2018-02-07T18:39:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![burfel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/burfel/32/3314_2.png) [@burfel](https://discourse.julialang.org/u/burfel)\
**Post date:** [February 7, 2018, 6:39pm UTC](https://discourse.julialang.org/t/example-iris-dataset-not-running/8906/1 "2018-02-07T18:39:42Z")

</div>

Does anyone get the Iris Dataset on [Home · Plots](http://docs.juliaplots.org/latest/) running?

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [February 7, 2018, 7:30pm UTC](https://discourse.julialang.org/t/example-iris-dataset-not-running/8906/2 "2018-02-07T19:30:13Z")

</div>

Yes. What about it? What errors did you get?

---

<div class="post-metadata">

**Author:** ![piever](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/piever/32/1815_2.png) [@piever](https://discourse.julialang.org/u/piever)\
**Post date:** [February 7, 2018, 7:37pm UTC](https://discourse.julialang.org/t/example-iris-dataset-not-running/8906/3 "2018-02-07T19:37:45Z")

</div>

I’m afraid the tutorial is outdated, only the `@df` syntax is supported in [StatPlots](https://github.com/JuliaPlots/StatPlots.jl) now. For example:

```julia
@df iris scatter(:SepalLength, :SepalWidth, group=:Species,
        title = "My awesome plot",
        xlabel = "Length", ylabel = "Width",
        m=(0.5, [:cross :hex :star7], 12),
        bg=RGB(.2,.2,.2))

```

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [February 7, 2018, 7:43pm UTC](https://discourse.julialang.org/t/example-iris-dataset-not-running/8906/4 "2018-02-07T19:43:28Z")

</div>

> [@piever](#):
>
> I’m afraid the tutorial is outdated, only the @df syntax is supported in StatPlots now. For example:

Sounds like a good PR.

---

<div class="post-metadata">

**Author:** ![piever](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/piever/32/1815_2.png) [@piever](https://discourse.julialang.org/u/piever)\
**Post date:** [February 7, 2018, 8:32pm UTC](https://discourse.julialang.org/t/example-iris-dataset-not-running/8906/5 "2018-02-07T20:32:12Z")

</div>

Here goes:

[https://github.com/JuliaPlots/PlotDocs.jl/pull/73](https://github.com/JuliaPlots/PlotDocs.jl/pull/73)

---

<div class="post-metadata">

**Author:** ![burfel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/burfel/32/3314_2.png) [@burfel](https://discourse.julialang.org/u/burfel)\
**Post date:** [February 8, 2018, 3:50pm UTC](https://discourse.julialang.org/t/example-iris-dataset-not-running/8906/6 "2018-02-08T15:50:21Z")

</div>

Thanks. That’s working now (on the terminal).  
I am using atom as editor and here I keep getting the following error message when _using RDatasets_

> Failed to precompile Missings to user/.julia/lib/v0.6/Missings.ji.

I have added the package _StatPlots_ and _RDatasets_ via the console and _uber-juno_ and _hydrogen_ in nano.  
Also, I am confused by the ending _ji_.

In general: Could it be that there are conflicts between packages I have added (_PyPlot_, _Plots_ etc), eg when I produce plots, some appear distorted. Also it seems like adding _Gadfly_ and _MultivariateStats_ result in some conflicts. Precompiling Gadfly doesn’t seem to work either and results in a similar error message as the one above

> Failed to precompile Gadfly to user/.julia/lib/v0.6/Gadfly.ji.

If anyone has thoughts on that…

---

<div class="post-metadata">

**Author:** ![js135005](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/js135005/32/8219_2.png) [@js135005](https://discourse.julialang.org/u/js135005)\
**Post date:** [February 8, 2018, 3:58pm UTC](https://discourse.julialang.org/t/example-iris-dataset-not-running/8906/7 "2018-02-08T15:58:35Z")

</div>

Gadfly appears to have a number of conflicts with recently updated packages for Julia 0.6 and 0.7. For that reason as well as a few others, I am no longer using it and have removed it.
