Publications by Econometrics and Free Software

For posterity: install {xml2} on GNU/Linux distros

17.05.2019

Today I’ve removed my system’s R package and installed MRO instead. While re-installing all packages, I’ve encountered one of the most frustrating error message for someone installing packages from source: Error : /tmp/Rtmpw60aCp/R.INSTALL7819efef27e/xml2/man/read_xml.Rd:47: unable to load shared object '/usr/lib64/R/library/xml2/libs/xml2....

1831 sym R (1620 sym/6 pcs) 4 img

For posterity: install {xml2} on GNU/Linux distros

17.05.2019

Today I’ve removed my system’s R package and installed MRO instead. While re-installing all packages, I’ve encountered one of the most frustrating error message for someone installing packages from source: Error : /tmp/Rtmpw60aCp/R.INSTALL7819efef27e/xml2/man/read_xml.Rd:47: unable to load shared object '/usr/lib64/R/library/xml2/libs/xml2....

1831 sym R (1620 sym/6 pcs) 4 img

The never-ending editor war (?)

18.05.2019

The creation of this blog post was prompted by this tweet, asking an age-old question: @spacemacs— Bruno Rodrigues (@brodriguesco) May 16, 2019 This is actually a very important question, that I have been asking myself for a long time. An IDE, and plain text editors, are a very important tools to anyone writing code. Most working hours are spen...

14642 sym R (2964 sym/2 pcs) 16 img

The never-ending editor war (?)

18.05.2019

The creation of this blog post was prompted by this tweet, asking an age-old question: @spacemacs— Bruno Rodrigues (@brodriguesco) May 16, 2019 This is actually a very important question, that I have been asking myself for a long time. An IDE, and plain text editors, are a very important tools to anyone writing code. Most working hours are spen...

14575 sym R (2964 sym/2 pcs) 16 img

Using cosine similarity to find matching documents: a tutorial using Seneca’s letters to his friend Lucilius

03.06.2019

Lately I’ve been interested in trying to cluster documents, and to find similar documents based on their contents. In this blog post, I will use Seneca’s Moral letters to Lucilius and compute the pairwise cosine similarity of his 124 letters. Computing the cosine similarity between two vectors returns how similar these vectors are. A cosine s...

4877 sym R (7934 sym/9 pcs) 4 img

Using cosine similarity to find matching documents: a tutorial using Seneca’s letters to his friend Lucilius

03.06.2019

Lately I’ve been interested in trying to cluster documents, and to find similar documents based on their contents. In this blog post, I will use Seneca’s Moral letters to Lucilius and compute the pairwise cosine similarity of his 124 letters. Computing the cosine similarity between two vectors returns how similar these vectors are. A cosine s...

4877 sym R (7934 sym/9 pcs) 4 img

Intermittent demand, Croston and Die Hard

11.06.2019

I have recently been confronted to a kind of data set and problem that I was not even aware existed: intermittent demand data. Intermittent demand arises when the demand for a certain good arrives sporadically. Let’s take a look at an example, by analyzing the number of downloads for the {RDieHarder} package: library(tidyverse) library(tsinterm...

3951 sym R (2540 sym/10 pcs) 10 img

Intermittent demand, Croston and Die Hard

11.06.2019

I have recently been confronted to a kind of data set and problem that I was not even aware existed: intermittent demand data. Intermittent demand arises when the demand for a certain good arrives sporadically. Let’s take a look at an example, by analyzing the number of downloads for the {RDieHarder} package: library(tidyverse) library(tsinterm...

3951 sym R (2540 sym/10 pcs) 10 img

Curly-Curly, the successor of Bang-Bang

28.06.2019

Writing functions that take data frame columns as arguments is a problem that most R users have been confronted with at some point. There are different ways to tackle this issue, and this blog post will focus on the solution provided by the latest release of the {rlang} package. You can read the announcement here, which explains really well what ...

3197 sym R (1961 sym/10 pcs) 4 img

Curly-Curly, the successor of Bang-Bang

28.06.2019

Writing functions that take data frame columns as arguments is a problem that most R users have been confronted with at some point. There are different ways to tackle this issue, and this blog post will focus on the solution provided by the latest release of the {rlang} package. You can read the announcement here, which explains really well what ...

3197 sym R (1961 sym/10 pcs) 4 img