Publications by Jozef's Rblog

A primer in using Java from R – part 1

23.06.2018

Introduction This primer shall consist of two parts and its goal is to provide a walk-through of using resources developed in Java from R. It is structured as more of a “note-to-future-self” rather than a proper educational article, I however hope that some readers may still find it useful. It will also list a set of references that I found v...

6948 sym R (6191 sym/14 pcs) 2 img 1 tbl

A primer in using Java from R – part 1

23.06.2018

Introduction This primer shall consist of two parts and its goal is to provide a walk-through of using resources developed in Java from R. It is structured as more of a “note-to-future-self” rather than a proper educational article, I however hope that some readers may still find it useful. It will also list a set of references that I found v...

7029 sym R (6191 sym/14 pcs) 2 img 1 tbl

A primer in using Java from R – part 2

07.07.2018

Introduction In this part of the primer we discuss creating and using custom .jar archives within our R scripts and packages, handling of Java exceptions from R and a quick look at performance comparison between the low and high-level interfaces provided by rJava. In the first part we talked about using the rJava package to create objects, call m...

5293 sym R (6775 sym/11 pcs) 2 img

A primer in using Java from R – part 2

07.07.2018

Introduction In this part of the primer we discuss creating and using custom .jar archives within our R scripts and packages, handling of Java exceptions from R and a quick look at performance comparison between the low and high-level interfaces provided by rJava. In the first part we talked about using the rJava package to create objects, call m...

5372 sym R (6780 sym/11 pcs) 2 img

RStudio:addins part 4 – Unit testing coverage investigation and improvement, made easy

21.07.2018

Introduction A developer always pays his technical debts! And we have a debt to pay to the gods of coding best practices, as we did not present many unit tests for our functions yet. Today we will show how to efficiently investigate and improve unit test coverage for our R code, with focus on functions governing our RStudio addins, which have the...

5981 sym R (7371 sym/7 pcs) 6 img

RStudio:addins part 4 – Unit testing coverage investigation and improvement, made easy

21.07.2018

Introduction A developer always pays his technical debts! And we have a debt to pay to the gods of coding best practices, as we did not present many unit tests for our functions yet. Today we will show how to efficiently investigate and improve unit test coverage for our R code, with focus on functions governing our RStudio addins, which have the...

6062 sym R (7176 sym/7 pcs) 6 img

RStudio:addins part 5 – Profile your code on keypress in the background, with no dependencies

04.08.2018

Introduction Profiling our code is a very useful tool to determine how well the code performs on different metrics. The addin we will create in this article will let us use a keyboard shortcut to run profiling on R code selected in RStudio without blocking the session or requiring any external packages. Specifically for very simple overview use...

5433 sym R (2606 sym/4 pcs) 6 img

RStudio:addins part 5 – Profile your code on keypress in the background, with no dependencies.

04.08.2018

Introduction Profiling our code is a very useful tool to determine how well the code performs on different metrics. The addin we will create in this article will let us use a keyboard shortcut to run profiling on R code selected in RStudio without blocking the session or requiring any external packages. Specifically for very simple overview use...

5514 sym R (2606 sym/4 pcs) 6 img

R:case4base – code profiling with base R

18.08.2018

Introduction In this summertime post in the case4base series, we will look at useful tools in base R, which let us profile our code without any extra packages needed to be installed. We will cover simple and easy to use speed profiling, more complex profiling of performance and memory and, as always, look at alternatives to base R as well, with a...

4685 sym R (1799 sym/7 pcs) 2 img

R:case4base – code profiling with base R

18.08.2018

Introduction In this summertime post in the case4base series, we will look at useful tools in base R, which let us profile our code without any extra packages needed to be installed. We will cover simple and easy to use speed profiling, more complex profiling of performance and memory and, as always, look at alternatives to base R as well, with a...

4766 sym R (1864 sym/7 pcs) 2 img