Sometimes there is a confusion between the Incanter's libraries (that are included as dependencies) & Incanter's namespaces. One library can contain many namespaces, for example, incanter-core includes incanter.core
, incanter.stats
, etc., while the incanter.datasets
is in the incanter-io library (together with incanter.io
), and incanter.charts
is in the incanter-charts library.
If you include the incanter
as dependency in your project.clj
, then it will include all libraries & namespaces provided by Incanter.
The Incanter was split into many libraries to decrease the number of dependencies for cases, when people want to use only small part of its functionality, for example, only incanter.stats
+ incanter.datasets
.
Some information about Incanter's libraries you can find in the following presentation
Edited: The problem with SSL arises from the old bug when dataset always was downloaded from Internet. See this issue for details...
I've committed the fix 2 days ago, but it still only in the master, not released. To fix it in the release version, add following to your project.clj
:
:jvm-opts ["-Djsse.enableSNIExtension=false"]
This will prevent the error. If you don't want to download the datasets from Internet, you can explicitly pass the path to them via get-dataset
's options:
(get-dataset :iris :from-repo false
:incanter-home "/Users/ott/projects/incanter")
The :incanter-home
path should point to the directory under which the Incanter's data
folder is stored.