Skip to content

Instantly share code, notes, and snippets.

@benatkin
Created March 20, 2010 18:29
Show Gist options
  • Save benatkin/338816 to your computer and use it in GitHub Desktop.
Save benatkin/338816 to your computer and use it in GitHub Desktop.
mkdir -p ~/github/walter
cd ~/github/walter
git clone git://github.com/walter/aquamacs-emacs-starter-kit.git
~/incanterplayground $ lein deps
...installation output omitted...
~/incanterplayground $ lein repl
Warning: the repl task currently doesn't honor some project.clj
options due to I/O stream issues. Future versions will address
this, but for now you will get more consistent behaviour from repls
launched by either the lein-swank plugin or the lein-nailgun plugin.
Clojure 1.1.0
user=>
~/incanterplayground $ lein deps
[INFO] snapshot org.clojure:clojure:1.1.0-master-SNAPSHOT: checking for updates from clojure
[INFO] snapshot org.clojure:clojure:1.1.0-master-SNAPSHOT: checking for updates from clojure-snapshots
[INFO] snapshot org.clojure:clojure:1.1.0-master-SNAPSHOT: checking for updates from clojars
[INFO] snapshot org.clojure:clojure:1.1.0-master-SNAPSHOT: checking for updates from incanter
[INFO] snapshot org.clojure:clojure:1.1.0-master-SNAPSHOT: checking for updates from central
[copy] Copying 23 files to /Users/ben/incanterplayground/lib
~/incanterplayground $ lein swank
[null] user=> Connection opened on local port 4005
[null] #<ServerSocket ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=4005]>
~ $ lein new incanterplayground
(def x 3)
(def y 3)
(+ x y)
(use '(incanter core charts))
(view (function-plot sin -4 4))
(setq kitfiles-dir "~/github/walter/aquamacs-emacs-starter-kit")
(add-to-list 'load-path kitfiles-dir)
(require 'init)
(defproject incanterplayground "1.0.0-SNAPSHOT"
:description "A project to help me experiment with incanter"
:repositories {"incanter" "http://repo.incanter.org"}
:dependencies [[org.incanter/incanter-full "1.0.0"]]
:dev-dependencies [[leiningen/lein-swank "1.1.0"]])
(defproject incanterplayground "1.0.0-SNAPSHOT"
:description "A project to help me experiment with incanter"
:repositories {"incanter" "http://repo.incanter.org"}
:dependencies [[org.incanter/incanter-full "1.0.0"]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment