Blog Archives

2013-11 Improving the ‘gridGraphviz’ package in R

February 24, 2014
By

The gridGraphviz package renders node-and-edge graphs in R using the grid graphics package. Graphs are laid out using the Rgraphviz package to interface with the graph layout algorithms in graphviz. This article details the improvements made between gridGraphviz versions 0.2 … Continue reading →

Read more »

2013-11 Automatic Conversion of Tables to LongForm Dataframes

November 3, 2013
By

TableToLongForm automatically converts hierarchical Tables intended for a human reader into a simple LongForm Dataframe that is machine readable, hence enabling much greater utilisation of the data. It does this by recognising positional cues present in the hierarchical Table (which … Continue reading →

Read more »

2013-4 Generating Structured and Labelled SVG

April 9, 2013
By

This article discusses the importance of providing structure and labelling within SVG code, particularly when the SVG code is generated indirectly by a high-level system and when the SVG code describes a complex image such as a statistical plot. We … Continue reading →

Read more »

2013-3 Generating unique names in gridSVG

April 2, 2013
By

The gridSVG package exports grid images to the SVG image format for viewing on the web. This article describes the problems associated with retaining grid object names in SVG element id attributes. In addition, new features in gridSVG that allow … Continue reading →

Read more »

2013-1 TimingManager: Animation Sequences in JavaScript

January 8, 2013
By

The TimingManager library is a tool written in JavaScript used to apply animations in a web browser. It is not concerned with creation or modification of animation timing information, and delegates those tasks to R via the animaker package. Primarily … Continue reading →

Read more »

2012-12 Post-Processing grid Graphics

December 11, 2012
By

Statistical plots drawn with the ggplot2 package generate numerous grid grobs and viewports which are labelled and organised into a coherent hierarchy. This report describes an example that shows how to manipulate the grobs and viewports in a ggplot2 plot … Continue reading →

Read more »

2012-11 Generating Animation Sequence Descriptions

November 29, 2012
By

This report describes the animaker package for generating descriptions of animation sequences. An animation sequence is composed by combining atomic animations in series to create sequence animations or in parallel to create track animations. Functions are provided for manipulating animation … Continue reading →

Read more »

2012-10 Introducing the ‘selectr’ Package

November 26, 2012
By

The selectr package translates a CSS selector into an equivalent XPath expression. This allows the use of CSS selectors to query XML documents using the XML package. Convenience functions are also provided to mimic functionality present in modern web browsers. … Continue reading →

Read more »

2012-9 Writing grid Extensions

November 6, 2012
By

New hook functions, makeContext() and makeContent(), have been added to the grid graphics package. These functions allow an alternative approach to developing custom grobs when a grob can only decide what to draw at drawing time rather than when the … Continue reading →

Read more »

2012-7 A Structured Approach for Generating SVG

October 14, 2012
By

The gridSVG package exports grid images to an SVG format for viewing on the web. This article describes a new development in the way that gridSVG produces the SVG output. The result is greater flexibility in how the SVG output … Continue reading →

Read more »