Category Archives: Scientific Computing

Project Reporting with RMarkdown


RMarkdown  provides an authoring system for project and data science reporting.  RMarkdown is a core component of the RStudio IDE.  It braids together narrative text with embedded chunks of R code.  The  R code serves to demonstrate the model concepts in the text.  RMarkdown  produces elegantly formatted document output, including  publication quality data plots and tables.

Posted in Data Science, LaTeX, R Basics, R Programming, Scientific Computing | Comments Off on Project Reporting with RMarkdown

Split-Apply-Combine Techniques


Many data projects involve a split-apply-combine strategy, where a big dataset is split into manageable pieces, a function is applied to operate on each piece and the results are then combined to put all the pieces back together. These are common actions that are repeated in many analysis projects.

Posted in Data Science, R Programming, Scientific Computing | Comments Off on Split-Apply-Combine Techniques

Principles of Tidy Data

Introduction to Tidy Data

Despite the enormous amount of data available, there is surprisingly little alignment or information on how to create clean, consistent and easy to use data.

Human interface with data and code can benefit from some simple principles to facilitate repeatable research and results. The “tidy” approach to data requires that:

  • Data is structured consistently and reusable;
  • Code flow relies on simple function calls using the pipe;
Posted in Data, R Basics, R Data Objects, R Data Syntax, Scientific Computing | Comments Off on Principles of Tidy Data

Setting Up A Scientific Programming Environment in Ubuntu

With language, we learn to listen and to speak. With literacy, we learn to read and to write.  With programming, we learn how to use and to make software programs. Programming is the new literacy of the digital age.  Scientific programming is an essential skill.  It allows us to respond to new data structures and new technology, to expand Internet interfaces, to challenge common understandings or wisdom, and to access the control panels of machines and civilization.

Posted in Linux, Scientific Computing, Ubuntu | Comments Off on Setting Up A Scientific Programming Environment in Ubuntu