Articles by Roman Luštrik

Problem compiling RSQLite from source

May 22, 2021 | Roman Luštrik

When I tried to compile RSQLite from source on Fedora 34, I was awaited by this error message. Error installing package 'RSQLite': =================================== * installing to library ‘/.../renv/staging/1’ * installing *source* package ‘RSQLite’ ... ** package ‘RSQLite’ successfully unpacked and MD5 sums checked ** using staged installation ** libs g++ -m64 -std=gnu++11 -I"/usr/include/R" ... [Read more...]

Water well outflow rate

May 15, 2021 | Roman Luštrik

The house I live in has been built around 1939 and is accompanied by a water well that is about 6 m deep. This was dug out by hand, 0.5 m a day, added scaffolding, added concrete and so on for a few weeks. I think, but see the below figure where on ...
[Read more...]

Pin package versions in your production Docker image

June 25, 2020 | Roman Luštrik

Using package in R is easy. You install from CRAN using install.packages("packagename"), it resolves dependencies and you're good to go. What R natively doesn't handle so well is installing a particular package version without jumping through hoops. Technically you need the source file of the package version you ... [Read more...]

Pin package versions in your production Docker image

June 25, 2020 | Roman Luštrik

Using package in R is easy. You install from CRAN using install.packages("packagename"), it resolves dependencies and you're good to go. What R natively doesn't handle so well is installing a particular package version without jumping through hoops. Technically you need the source file of the package version you ... [Read more...]

How to authenticate using OAuth2 through R

January 19, 2019 | Roman Luštrik

If you need to have authentication of users in your application, you could invent the proverbial warm water by implementing register, login, logout and other features. Or, you could outsource part of that functionality to well established establishments such as Google, Facebook, Github and other. In addition to knowing the ... [Read more...]

How to authenticate using OAuth2 through R

January 19, 2019 | Roman Luštrik

If you need to have authentication of users in your application, you could invent the proverbial warm water by implementing register, login, logout and other features. Or, you could outsource part of that functionality to well established establishments such as Google, Facebook, Github and other. In addition to knowing the ... [Read more...]

Point arrows to specific parts of the data

April 13, 2018 | Roman Luštrik

tl;dr: Point arrows at your line at defined datum points. Sometimes to really enhance your picture you need to point at some stuff. Here is a script which will plot vertical lines to show events in your datum plot. library(ggplot2) # This script will draw points to parts of (... [Read more...]

Point arrows to specific parts of the data

April 13, 2018 | Roman Luštrik

tl;dr: Point arrows at your line at defined datum points. Sometimes to really enhance your picture you need to point at some stuff. Here is a script which will plot vertical lines to show events in your datum plot. library(ggplot2) # This script will draw points to parts of (... [Read more...]

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)