Re: Help with Incanter and Emacs

2015-01-13 Thread Sam Raker
For something that's been "deprecated" for a while now, `use` sure still shows up in A LOT of docs/tutorials/books/etc. On Monday, January 12, 2015 at 7:48:44 PM UTC-5, Robert Berger wrote: > > Wish this was in the Incanter docs and in the Readme > > On Tuesday, August 13, 2013 at 12:09:20 PM UTC

Re: Help with Incanter and Emacs

2015-01-12 Thread Robert Berger
Wish this was in the Incanter docs and in the Readme On Tuesday, August 13, 2013 at 12:09:20 PM UTC-7, Tim Visher wrote: > > LOL. I just realized I'd been missing that all along. > > It seems like the community is more and more leaning to something like > this, just FYI. > > (ns default.core >

Re: Help with Incanter and Emacs

2013-08-13 Thread Akhil Wali
Ah I see. :use is deprecated since 1.4. And your ns declaration works fine! Kudos! On Aug 14, 2013 12:40 AM, "Tim Visher" wrote: > LOL. I just realized I'd been missing that all along. > > It seems like the community is more and more leaning to something like > this, just FYI. > > (ns default.cor

Re: Help with Incanter and Emacs

2013-08-13 Thread Tim Visher
LOL. I just realized I'd been missing that all along. It seems like the community is more and more leaning to something like this, just FYI. (ns default.core (:require (incanter [core :refer :all] [charts:refer :all] [stats :

Re: Help with Incanter and Emacs

2013-08-13 Thread Akhil Wali
Well this is embarrassing. I was having a wrong use syntax >.<. Changed the import line to this and it works. (ns default.core (:use [incanter core charts stats datasets])) Thanks for the help though!! On Tuesday, August 13, 2013 11:57:46 PM UTC+5:30, Akhil Wali wrote: > > Yes, by nrepl-jack

Re: Help with Incanter and Emacs

2013-08-13 Thread Akhil Wali
Yes, by nrepl-jack-in. On Tuesday, August 13, 2013 11:54:24 PM UTC+5:30, Tim Visher wrote: > > And you're connecting to the project how? > > On Tue, Aug 13, 2013 at 2:11 PM, Akhil Wali > > > wrote: > > Well > > Here's my project.clj. > > > > (defproject someproj "0.1.0-SNAPSHOT" > > :dep

Re: Help with Incanter and Emacs

2013-08-13 Thread Tim Visher
And you're connecting to the project how? On Tue, Aug 13, 2013 at 2:11 PM, Akhil Wali wrote: > Well > Here's my project.clj. > > (defproject someproj "0.1.0-SNAPSHOT" > :dependencies [[org.clojure/clojure "1.5.1"] > [incanter "1.5.2"]]) > > Here's my .lein/profiles.clj as well.

Re: Help with Incanter and Emacs

2013-08-13 Thread Akhil Wali
Well Here's my project.clj. (defproject someproj "0.1.0-SNAPSHOT" :dependencies [[org.clojure/clojure "1.5.1"] [incanter "1.5.2"]]) Here's my .lein/profiles.clj as well. {:user {:plugins [[lein-ritz "0.7.0"] [compojure-app/lein-template "0.2.7"]] :de

Re: Help with Incanter and Emacs

2013-08-13 Thread Tim Visher
On Tue, Aug 13, 2013 at 1:59 PM, Akhil Wali wrote: > Hi All, > > A really noob question. > > Why do I get "FileNotFoundException Could not locate incanter__init.class or > incanter.clj on classpath: clojure.lang.RT.load (RT.java:443)" when i load > a file that uses incanter in emacs? > Here's th

Help with Incanter and Emacs

2013-08-13 Thread Akhil Wali
Hi All, A really noob question. Why do I get "FileNotFoundException Could not locate incanter__init.class or incanter.clj on classpath: clojure.lang.RT.load (RT.java:443)" when i load a file that uses incanter in emacs? Here's the file... (ns default.core (:require incanter core charts s