Articles by R some blog

container: v1.0.0 on CRAN

December 16, 2021 | R some blog

The update contains some breaking changes and brings a lot of new features and operators, which markedly improves using containers in both interactive R sessions and code development. Also there is a new class dict.table to support the data.table pack...
[Read more...]

Why I don’t use R Markdown’s ref.label

August 7, 2020 | R some blog

R Markdown provides the chunk option `ref.label` to reuse chunks. In this post, I'll show potential problems with this approach and present an easy and safe alternative. Motivation Consider you have defined variable x,
x = 1
and define another chunk, where you simply add one up
```{r addOne}
sum = x + 1
sum
```
resulting in
[1] 2
...
[Read more...]