2023

The Mandelbulb in R

February 7, 2023 | Stéphane Laurent

In this post, I provide some R code which generates a mesh of the Mandelbulb, a well-known 3D fractal. The Mandelbulb is an isosurface, and I use the rmarchingcubes package to get a mesh of ... [Read more...]

Using chatGPT in the teaching of R

February 7, 2023 | Karsten W.

I am currently focalising an introductory course in programming with R within my organisation. We use datacamp.com as a resource and meet online once a week to share. This week my input was an interaction with chatGPT, see below. My impression is tha... [Read more...]

Subsetting Named Lists in R

February 6, 2023 | Steven P. Sanderson II, MPH

Introduction In R, lists are a fundamental data structure that allows us to store multiple objects of different data types under a single name. Often times, we want to extract certain elements of a list based on their names, and this can be acco... [Read more...]

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...]
1 9 10 11 12 13 18

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)