Glorious polyglot madness - rpy2 from clojure-py

38 views
Skip to first unread message

Alexander Stoddard

unread,
Sep 12, 2012, 4:15:28 PM9/12/12
to clojure...@googlegroups.com
I just got started trying clojure-py and I am most excited. I need to work with python and R for the available numerics and visualization libraries but really enjoy clojure as a language.

With rpy2 installed for python I found the following works beautifully:

user=> (require 'rpy2.robjects)
user=> (rpy2.robjects/r "plot(iris$Petal.Length, iris$Petal.Width, main=\"Edgar Anderson's Iris Data\")")


Kudos.





Reply all
Reply to author
Forward
0 new messages