About jamesgoode98

Java software consultant, specialising in real time big data analytics using Java, Hadoop, MySQL and R.

ggplot2 would not install via RStudio

ggplot2 would not install via RStudio, and the detailed errors ran:

plyr not available for R3.0.2

reshape2 not available for R3.0.2

Now R3.0.2 is the default for Ubuntu14.04. so a quick google turned up the following SO discussions:

One thing that happened for me is that the version of R provided by my linux distribution (R version 3.0.2 provided by Ubuntu 14.04) was too old for the latest version of the package available on CRAN (in my case, plyr version 1.8.3 as of today). The solution was to use the packaging system of my distribution instead of trying to install from R (apt-get install r-cran-plyr  got me version 1.8.1 of plyr).


and apt-get install r-cran-plyr    worked as did the equivalent for reshape2;

Subsequently was able to install ggplot2 and then the shiny app that I wanted to run. Good.

NOTE   TODO   go over the ggplot2 tutorials


The Moneyball Effect: How smart data is transforming criminal justice, healthcare, music, and even government spending

TED Blog

Anne Milgram reveals what happened when New Jersey  moneyballed its criminal justice system. Photo: Marla Aufmuth Anne Milgram reveals what happened when New Jersey moneyballed its criminal justice system. Photo: Marla Aufmuth

When Anne Milgram became the Attorney General of New Jersey in 2007, she was stunned to find out just how little data was available on who was being arrested, who was being charged, who was serving time in jails and prisons, and who was being released.

[ted_talkteaser id=1914]“It turns out that most big criminal justice agencies like my own didn’t track the things that matter,” she says in today’s talk, filmed at TED@BCG. “We didn’t share data, or use analytics, to make better decisions and reduce crime.”

Milgram’s idea for how to change this: “I wanted to moneyball criminal justice.”

Moneyball, of course, is the name of a 2011 movie starring Brad Pitt and the book it’s based on, written by Michael Lewis in 2003. The term refers to a practice adopted…

View original post 832 more words

No, not every database was created equal. Here’s how they stand out



SQL or NoSQL? In-memory or hard disks? Graph? These questions have been top of mind in recent years as developers and IT administrators check out new-age databases capable of handling scale-out data sets. Executives from four databases showed how they stand out in a hot market at GigaOM’s Structure:Data conference on Thursday.

Emil Eifrem, CEO of Neo Technology, touted the power of Neo4j and other graph databases to show relationships among disparate varieties of data with nodes, edges and key-value properties. (Think of Facebook’s (s fb) Graph Search as one version.) The style takes inspiration from the connections among neurons and synapses inside the brain, Eifrem said. But, like other NoSQL databases, Neo Technology’s Neo4j product doesn’t use the SQL programming language, which could limit its adoption among enterprises.

Damian Black, CEO of SQLstream, touted his database’s use of SQL, calling it “lingua franca for data management.” Sure, it…

View original post 6,773 more words

Firejail – A Security Sandbox for Mozilla Firefox

Security – a growing problem ( even on Linux ) but this Firejail sandbox for Firefox might just come in handy!

l3net - a layer 3 networking blog

We often find ourselves running applications we received in binary format. These include not only traditional software installed on our computers, but also unauthenticated programs received over the network and run in web browsers. Most of the time these applications are too complex to be bug-free, or can come from an adversary trying to get access to our system.

Firejail is a SUID sandbox program that reduces the risk of security breaches by restricting the running environment of untrusted applications. The core technology behind Firejail is Linux Namespaces, a virtualization technology available in Linux kernel. It allows a process and all its descendants to have their own private view of the globally shared kernel resources, such as the network stack, process table, mount table, IPC space.

Introducing Firejail

The program is written in C and only needs libc and POSIX threads (libpthreads), available by default on any Linux platform. The

View original post 659 more words

15 Sorting Algorithms in 6 Minutes – YouTube

Nice visual description

Blender Fox

An interesting look at 15 different sorting algorithms with a visual representation of how well they run. Everything from the classic Bubble Sort, Heap Sort and Quick Sort. Including a few I didn’t even know about. Radix, Cocktail Shaker, Gnome.

Bitonic is a really weird sort method. And Bogo, well, I have no clue what that one is trying to do.

View original post