Top 10 errors in R and how to fix them

February 6, 2023 | R on Stats and R

Introduction 1. Unmatched parentheses, curly braces, square brackets or quotes 2. Using a function that is not installed or loaded 3. Typos in function, variable, dataset, object or package names 4. Missing, incorrect or misspelled arguments in fun...
[Read more...]

Cricket Weighted Batting Average in R

February 5, 2023 | Part Time Analyst

Hello, I hope you have your Yorkshire tea ready as today I am going to be exploring weighted averages using R. I used the code above to generate the table of the top 15 players by batting average in the 2022 county championship. Now the whole point of this blog is to ...
[Read more...]

Extending R with C++ and Fortran

February 4, 2023 | Rcpp Gallery

A recent social-media question by James Curran inquired about the best, or recommended ways, to extend R with Fortran code. Part of the question was whether the .Fortran() interface was still recommended or as there is ‘conflicting advice’ out there. ... [Read more...]

Probot: building a Mastodon bot

February 4, 2023 | quantixed

I have long admired albums2hear, a Twitter bot that posts albums. You can read a bit more about it here. There was no mastodon equivalent and so I decided to build one. You can follow the bot – currently called Albums Albums Albums (or AlbumsX3) – here. Idea behind the bot ... [Read more...]

What’s new in {PrettyCols} 1.0.1?

February 2, 2023 | R on Nicola Rennie

Back in September 2022 I submitted {PrettyCols}, an R package containing aesthetically pleasing colour palettes, to CRAN. If you missed it, you can read the blog post introducing the package! After a few months, it was time for an update and this blog post will give you a brief overview of ...
[Read more...]

Tips for organising your R code

January 30, 2023 | tomaztsql

Keeping your R code organised is not as straightforward as one might think. Just think about the libraries, variables, functions, and many more. All these objects can be defined and later rewritten, some might get obsolete during the process. This…Read more ›
[Read more...]
1 3 4 5 6 7 1,989