June 2020

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...]

Spatial regression in R part 2: INLA

June 24, 2020 | Lionel Hertzog

Are you interested in guest posting? Publish at DataScience+ via your RStudio editor. Category Advanced Modeling Tags Data Visualisation R Programming spatial Ten months after part 1 of spatial regression in R (oh my gosh where did these months go?), here is a (hopefully long-awaited) second part this time using INLA, ...
[Read more...]

Performance anxiety

June 24, 2020 | R on OSM

In our last post, we took a quick look at building a portfolio based on the historical averages method for setting return expectations. Beginning in 1987, we used the first five years of monthly return data to simulate a thousand possible portfolio ...
[Read more...]

Performance anxiety

June 24, 2020 | R on OSM

In our last post, we took a quick look at building a portfolio based on the historical averages method for setting return expectations. Beginning in 1987, we used the first five years of monthly return data to simulate a thousand possible portfolio weights, found the average weights that met our risk-return ...
[Read more...]

Critique of “Projecting the transmission dynamics of SARS-CoV-2 through the postpandemic period” — Part 3: Estimating reproduction numbers

June 24, 2020 | Radford Neal

This is the third in a series of posts (previous posts: Part 1, Part 2) in which I look at the following paper: Kissler, Tedijanto, Goldstein, Grad, and Lipsitch, Projecting the transmission dynamics of SARS-CoV-2 through the postpandemic period, Science, vol. 368, pp. 860-868, 22 May 2020 (released online 14 April 2020).  The paper is also available […]
[Read more...]

Dungeons and Dragons: Advantage

June 24, 2020 | Chris Carbone

D20 and Random Events In the game Dungeons and Dragons, the success or failure of an event is determined by rolling a 20 sided die (D20): higher is better. If you need to roll 11 or higher you have a 50% chance of success. If another event requires 10 or better you now have ...
[Read more...]

Dungeons and Dragons: Advantage

June 24, 2020 | Chris Carbone

D20 and Random Events In the game Dungeons and Dragons, the success or failure of an event is determined by rolling a 20 sided die (D20): higher is better. If you need to roll 11 or higher you have a 50% chance of success. If another event requires 10 or better you now have ...
[Read more...]

Testing Rcpp packages

June 24, 2020 | Akhila Chowdary Kolla

Testing Rcpp packages using DeepState and Valgrind Testing Rcpp packages for memory violations can be tricky. The C++ code embedded inside an Rcpp function can introduce subtle bugs. These bugs can be hard to detect because they don’t throw any warni... [Read more...]
1 2 3 4 5 12

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)