Convert data.tree to and from list, json, networkD3, and more
The data.tree package provides a facility to create and manage tree structures in R, and to decorate nodes with methods. This comes in handy for many algorithms. As of today, data.tree contains generic methods to convert a data.tree from and to a list.

Replacing jQuery with D3
Although D3 has powerful features like its selectors or an ajax wrapper already built-in, we are often times missing some jQuery functions in our D3 projects. That’s why we will show some approaches on how you can replace jQuery by only using D3.

From JSON to Tables
JSON: despite the undeniable advantages that this data structure has in terms of data storage, replication, etc, it presents a challenge for data scientist, as most algorithms require that the input data is passed in a tabular form. I have myself faced to this problem and, after a couple of times of creating some temporary solution, felt it was high time to come up to a general one: of course, the solution I have come up to is just one approach.

In-database R coming to SQL Server 2016
R is coming to SQL Server. SQL Server 2016 (which will be in public preview this summer) will include new real-time analytics, automatic data encryption, and the ability to run R within the database itself.

Interactive maps for the web in R
In the last post I showed how to download economic data from the World Bank’s website and create choropleth maps in R (Global Economic Maps). In this post I want to focus more on how to visualize those maps.

How to correctly set color in the image() function?
In practice, unless we want to manually define the color break points, we just set the first and last color, it will automatically find colors for the values in Z.

Recent Common Ancestors: Simple Model
… The models reveal an unexpected result: a genealogical Common Ancestor (CA) of the entire present day human population would have lived in the relatively recent past. It would be interesting to replicate some of those results. …