Running the examples
Each example is a function in the cljds.ch1.examples
namespace that can be run in two ways—either from the REPL or on the command line with Leiningen. If you'd like to run the examples in the REPL, you can execute:
lein repl
on the command line. By default, the REPL will open in the examples
namespace. Alternatively, to run a specific numbered example, you can execute:
lein run –-example 1.1
or pass the single-letter equivalent:
lein run –e 1.1
We only assume basic command-line familiarity throughout this book. The ability to run Leiningen and shell scripts is all that's required.
Tip
If you become stuck at any point, refer to the book's wiki at http://wiki.clojuredatascience.com. The wiki will provide troubleshooting tips for ...
Get Clojure for Data Science now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.