I build a new project using leiningen to test incanter:
lein new testincanter
Then, in project.clj, I put this:
(defproject testincanter "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[incanter "1.5.4"]])
Then I start the repl:
lein repl
everything is good.
Then I do this,
(ns testincanter.sample
(:use (incanter core datasets io optimize charts stats)))
Then it returns exceptions like:
java.lang.Exception: namespace 'incanter.charts' not found
or
clojure.lang.Compiler$CompilerException: java.lang.NoSuchFieldException: createIntegerTickUnits
I have tried incanter.core, incanter.datasets, incanter.io... separately,
all work well, except incanter.charts