Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Clojure Data Analysis Cookbook - Second Edition
  • Table Of Contents Toc
  • Feedback & Rating feedback
Clojure Data Analysis Cookbook - Second Edition

Clojure Data Analysis Cookbook - Second Edition - Second Edition

By : Eric Richard Rochester
4 (2)
close
close
Clojure Data Analysis Cookbook - Second Edition

Clojure Data Analysis Cookbook - Second Edition

4 (2)
By: Eric Richard Rochester

Overview of this book

This book is for those with a basic knowledge of Clojure, who are looking to push the language to excel with data analysis.
Table of Contents (14 chapters)
close
close
13
Index

Setting up R to talk to Clojure


Another major statistical processing environment is R. It's an open source programming language and environment designed for statistical analysis. It's widely used and has an active community as well as a huge and growing body of useful add-on packages.

While there's no Clojure-specific interoperability library, there is one for Java, and we can use that to pass calls to R and to get results back. In this recipe, we'll set this system up.

Getting ready

We'll need to have R installed. We can download it from http://www.r-project.org/ by following the link to CRAN, picking a mirror, and downloading the correct version of R for our platform.

You'll also need to have Maven (http://maven.apache.org/) installed in order to build and install the libraries to access R.

How to do it…

There are two parts to setting up this system. We'll get the R-side working, and then we'll see what Clojure needs to have in place.

Setting up R

To set up the system, we first have to configure...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Clojure Data Analysis Cookbook - Second Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon