Blog Archives

How to easily automate R analysis, modeling and development work using CI/CD, with working examples

April 13, 2019
By
How to easily automate R analysis, modeling and development work using CI/CD, with working examples

Introduction Automating the execution, testing and deployment of R work is a very powerful tool to ensure the reproducibility, quality and overall robustness of the code that we are building, be it for data analysis and modeling purposes, developing R packages or even blogging. Modern tools also provide a free an easy to use way of achieving this goal. In this...

Read more »

Should you start your R blog now? 6 reasons I found in my first year of R blogging

March 30, 2019
By
Should you start your R blog now? 6 reasons I found in my first year of R blogging

Introduction It has been a year since I posted the first post on this blog. Since that time, I have learned many lessons, but the main one is probably that blogging has never been as accessible as it is now. In this anniversary post, I would like ...

Read more »

How to create professional reports from R scripts, with custom styles.

March 16, 2019
By
How to create professional reports from R scripts, with custom styles.

Introduction If the practical tips for R Markdown post we talked briefly about how we can easily create professional reports directly from R scripts, without the need for converting them manually to Rmd and creating code chunks. In this one, we will provide useful tips on advanced options for styling, using themes and producing light-weight HTML reports directly from R...

Read more »

Creating blazing fast pivot tables from R with data.table – now with subtotals using grouping sets

March 2, 2019
By
Creating blazing fast pivot tables from R with data.table – now with subtotals using grouping sets

Introduction Data manipulation and aggregation is one of the classic tasks anyone working with data will come across. We of course can perform data transformation and aggregation with base R, but when speed and memory efficiency come into play, data.table is my package of choice. In this post we will look at of the fresh and very useful functionality that came...

Read more »

Verbose data.table and uncovering hidden cedta’s data table awareness decisions

February 16, 2019
By
Verbose data.table and uncovering hidden cedta’s data table awareness decisions

Introduction When speed and memory efficiency is important, the data.table package is one of the ways to improve those aspects of our R code dramatically. Including data.table in a package also comes with the added benefit of only importing the methods package, which is part of base R. We must also however pay attention to correctly importing and using methods,...

Read more »

R Markdown: 3 sources of reproducibility issues and options how to tackle them

February 2, 2019
By
R Markdown: 3 sources of reproducibility issues and options how to tackle them

Introduction R Markdown is a great tool to use for creating reports, presentations and even websites that contain evaluated and rendered code. This can help us immensely when presenting data science type of work to audiences, while still being able to version control the content creation process. One of the challenges that stay is reproducibility of the rendered results. In this...

Read more »

Create R Markdown reports and presentations even better with these 3 practical tips

January 19, 2019
By
Create R Markdown reports and presentations even better with these 3 practical tips

Introduction Including R Markdown in the workflow for presenting and publishing analyses that use code in R or other languages is a great way to make presentations, dashboards or reports good looking, reproducible and version controllable. In this post, we will look at three simple ways to improve that workflow even further with methods that are lesser known and can make...

Read more »

Here’s why 2019 is a great year to start with R: A story of 10 year old R code then and now

January 5, 2019
By
Here’s why 2019 is a great year to start with R: A story of 10 year old R code then and now

Introduction It has been more than ten years since I wrote my first R code. And in those years, the R world has changed dramatically, and mostly to the better. I believe that the current time may be one of the best times to start working with R. In this new year’s post we will look at the R world 10...

Read more »

5 amazing free tools that can help with publishing R results and blogging

December 22, 2018
By
5 amazing free tools that can help with publishing R results and blogging

Introduction It is Christmas time! And what better time than this to write about the great tools that are available to all who like R and would like to publish their R work or even blog about it. This post is meant as a praise to the tools that are...

Read more »

R:case4base – Sorting data with base R

December 8, 2018
By
R:case4base – Sorting data with base R

Introduction In this post in the R:case4base series we will examine sorting (ordering) data in base R. We will learn to sort our data based on one or multiple columns, with ascending or descending order and as always look at alternatives to base R, namely the tidyverse’s dplyr and data.table to show how we can achieve the same results. It is...

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)