News
Entertainment
Science & Technology
Life
Culture & Art
Hobbies
News
Entertainment
Science & Technology
Culture & Art
Hobbies
8 | Follower
How to make API calls to techtonique.net (and xgboost, lightgbm, catboost) for conformal machine learning regression tasks using curl, curlconverter.com, Python requests
The purpose of this post is to use time series models to predict the length of papal conclaves. A conclave is a secret vote which takes place to elect a new pope. Conclaves are all the rage right now. Not only was the film Conclave released in 2024, b...
If you are into running, chances are that you will be chasing your PB (personal best) times. This post is about using R to search for your PBs, and to monitor them over time. Usually runners target four distances for PBs: 5 km, 10 km, half marathon and full marathon. It’s likely that a PB […]
This is the third part of a blog post series on spatial machine learning with R. You can find the list of other blog posts in this series in part one. Introduction In this blog post, we will show how to use the tidymodels framework for ...
As the Judo World Championship draws near this June in Budapest, it feels like the perfect time to bring together my passion for Judo (and Brazilian Jiu-Jitsu) with my gusto for complex network analyses — a fusion that’s been a long time in the making! While my posts typically focus on biodiversity-related topics and statistical … Continue reading The Dynamics of the “Gentle Way”: Exploring Judo Attack Combinations as Networks in R
What if I told you that you could make your R computations run up to 30 times faster without modifying any of your code? I’ve created a custom R installer that comes with OpenBLAS pre-integrated. It’s the same R you know and love, but with a high...
My favorite RStudio theme My favorite color theme in RStudio is Tomorrow Night Bright. It’s an excellent, dark, high-contrast (‘bright’) theme that I’ve used consistently since I first started using RStudio. Originally written by Chris Kempson a...
Exploring graphs is always a fun. Attaching the edges and nodes with real examples of psychological effects and accompany them with useless mental shortcuts is beyond fun. This is why we will call it a “cognitive bias” explorer using DAG.…Read more ›
We learnt to derive the Newton-Raphson algorithm from Taylor series approximation and implements it for logistic regression in R. We’ll show how the second-order Taylor expansion leads to the Newton-Raphson update formula, then compare individua...
Join our workshop on Building fully reproducible data science environments for R and Python with ease using Nix, rix, and rixpress, which is a part of our workshops for Ukraine series! Here’s some more info: Title: Building fully reproducible data science environments for R and Python with ease using Nix, rix, and rixpress Date: Friday, … Continue reading Building fully reproducible data science environments for R and Python with ease using Nix, rix, and rixpress workshopBuilding fully reproducible data science environments for R and Python with ease using Nix, rix, and rixpress workshop was first posted on May 20, 2025 at 2:57 pm.
Introduction The Dyn4cast function was launched purposely to facilitate fast and easy forecast of COVID-19 cases in Nigeria. It was converted to a package and the development version of the package was launched on the 17th of February, 2021 with a si...
The Forwards teaching team is hosting two workshop series beginning next month to teach participants how to build their own R packages. No prior package building experience is required. The course consists of five 90-minute sessions held every ...
You can read the original post in its original format on Rtask website by ThinkR here: Security blind spots in Shiny: why your app is more vulnerable than you think Buckle up, we’re talking about security… While developing the Signature.py application, ThinkR recently faced a security issue – in Python – that deserves our full attention. Versioned on Github, the Signature.py code is analyzed by Dependabot. This is a robot that automatically scans projects for obsolete or vulnerable dependencies and can potentially suggest corrective measures. Dependabot alerted us to a This post is better presented on its original ThinkR website here: Security blind spots in Shiny: why your app is more vulnerable than you think
Shiny in Production is heading back to The Catalyst in Newcastle upon Tyne this October! We’ve got a great mix of workshops and a full day of talks, with speakers being announced soon. You’ll find all the workshop details below, and you can sign up now on the conference website. Whether you’re just getting started with Shiny or have been using it for years, come join us for a great hands-on experience with Shiny and other web-based development tools. Day one of the conference (Wednesday 8th October), will consist of the four parallel workshops running from 13:30 to 17:00, followed by a drinks reception in the evening, a great opportunity for networking and debriefing from the day’s learning. Register now Workshop 1: End-to-End testing for {shiny} with Playwright and {golem} - Colin Fay A Shiny application that dazzles in development can still fall apart in production if user journeys break, data pipelines drift, or browsers behave unexpectedly. Automated end-to-end (E2E) testing is the safety net that keeps released apps robust, and Playwright is quickly becoming the gold-standard tool for doing it across Chrome, Firefox and WebKit. In this hands-on workshop we’ll walk through a workflow for writing, running and maintaining Playwright tests that keep your Shiny apps ship-shape long after launch. Here’s what we’ll tackle: why E2E testing matters even when you already have unit tests installing and configuring Playwright in a golem project using {pw} scripting core user flows—clicks, inputs… validating data and UI state with snapshots and assertions running tests headlessly in CI pipelines (GitHub Actions, GitLab CI, Posit Connect) handling Shiny specificity debugging failed tests For this workshop, bring a laptop and a Shiny app you care about. You’ll leave with a working Playwright test harness you can drop straight into your projects—plus the confidence to deploy on Friday without fear. By the end of the workshop, participants will… understand the role of end-to-end testing in the Shiny deployment pipeline be able to install Playwright and scaffold tests from R write expressive Playwright scripts that capture user journeys in a Shiny app run tests in parallel across browsers locally and in continuous-integration systems About the speaker Colin Fay is a Lead Developer at ThinkR, a French agency specializing in all things R. By day, he helps companies unlock R’s full potential by building tools, architecting infrastructure, and developing data and software engineering solutions. His expertise spans web applications (frontend & backend), R in production, and scalable software development. By night, he’s an open-source enthusiast, international speaker, and long-distance runner. A passionate advocate for the R community, he actively contributes to open-source projects and shares his knowledge through talks and workshops worldwide. Colin is the main developer of {golem}, a framework for building robust Shiny applications, and the lead author of [Building Production-Grade Shiny Apps](https://engineering-shiny.org/index.html. Workshop 2 - Asynchronous Shiny - Dr Russ Hyde Imagine you couldn’t register to attend “Shiny in Production” if someone else was in the process of registering, and you had to wait until they had finished before you could click to “Buy tickets on EventBrite”. This kind of “blocking” shouldn’t happen in modern web applications but is surprisingly common in Shiny applications. It happens because a single R process handles all of the server-side processing for multiple users—one long-running task can prevent any other task from proceeding, hampering interactivity both between and within user-sessions. Fortunately, Shiny’s support for asynchronous programming can alleviate this problem. In the asynchronous approach, you start tasks running without having to wait for them to complete. But, this requires a change in mindset for many programmers and there are a few concepts to understand before you can take advantage of this approach. So, what are you waiting for? Sign up for this workshop! By the end of the workshop, participants will… understand how within-session and between-session blocking can arise in a Shiny app understand the basics of asynchronous computation solve between-session blocking with future/promise solve blocking the modern way, with ExtendedTask About the speaker Russ has previously worked in molecular biology and bioinformatics. He holds a PhD in Molecular Physiology and MSc in Mathematics. Russ is an author of several CRAN packages and mentor on the R-for-data-science community. Workshop 3 - Maps in Shiny - Pedro Silva Maps can be a visually striking way to present data in a Shiny application. With {leaflet}, you can add markers, icons or shapes to highlight specific places, or colour regions of a map according to data values. The user can zoom to focus on areas of interest. In this workshop you will learn how to present geographic data in a shiny application. We will also show some pitfalls that may arise when you try to make shiny do too much work when a map is recreated or updated. By the end of the workshop, participants will… create a map using {leaflet} embed maps in Shiny plot markers over a map to highlight points of interest colour geographic regions according to data values add legends and other annotations to a map efficiently update an existing map using leafletProxy() About the speaker Pedro is a full stack developer with over 15 years of experience in the field, loves front-end and R Shiny development, and is a moonlight practitioner of JavaScript dark arts. Workshop 4: Figma and User-Interface Design for Shiny - Dr Keith Newman Applications should look attractive, be engaging, and work intuitively for users. All of these aspects benefit from spending time focussing on user-interface (UI) and user experience (UX) design during app development. Indeed, we find that clients provide lots of feedback on the look and feel of an app, and that it is useful to prepare a view of the overall design even before any interactive functionality is implemented, so that design feedback can be obtained as early as possible. Graphical tools like Figma allow the designer to build both coarse- and fine-grained illustrations of how an application or website will look, and simulate the user workflow through the application. The designs can be shared with clients, and feedback gathered through comments pinned to the design. This workshop requires no prior experience in UI/UX design and will guide you through your first steps in Figma, demonstrating how to quickly prepare design ideas for Shiny applications. We’ll also get you started with creating some components—reusable modules of your design that can transition into different states. You will need a Figma account to participate; there is a free-tier that is sufficient for the workshop. By the end of the workshop, participants will… create simple wireframe designs in Figma set font styles and colour palettes consistently across your design use the bootstrap UI kit in Figma create small components with a simple transition into an alternative state use CSS to replicate a simple Figma design in Shiny About the speaker Following a PhD in statistics at Newcastle University, Keith developed software to improve road safety modelling. He enjoys creating Shiny apps and teaching the use of R. What’s next? Early bird tickets for the conference are still available at the time of writing, so don’t miss out! The full line up of speakers will be announced in the coming weeks. Still not convinced? Head over to our YouTube channel to take a look at talks from previous years to see what we have in store. Register now For updates and revisions to this article, see the original post
A researcher recently approached me for advice on a cluster-randomized trial he is developing. He is interested in testing the effectiveness of two interventions and wondered whether a 2×2 factorial design might be the best approach. As we discussed...
Consistent code formatting is a crucial aspect of collaborative development that often gets overlooked. Well-formatted code provides several significant benefits: Readability: Uniform formatting makes code easier to read and understand for ever...
I’m very excited to announce that 6 English-language books and 9 Portuguese books have been added to the collection of over 400 free, open-source R programming books. Many thanks to Bruno Mioto for the submission of the Portuguese books. As a reminder, there is also a Spanish-language chapter with 15 … The post 15 New Books added to Big Book of R appeared first on Oscar Baruffa.
I’ve been busy with the field exams, so I haven’t had much time to work on the blog. spuriouscorrelations package started as a fun project for one of my tutorials. Here is a case of an interesting correlation: the number of people who drowned by ...
Refreshed my rusty calculus skills lately! 🤓 Finally understand what happens during complete separation and why those coefficient SE get so extreme. The math behind maximum likelihood estimation makes more sense now! Chain rule, quotient rule, matrix ...
A short blog post today which is just all about producing this animation, which I used for a work presentation yesterday: It’s super easy and it’s worth putting out there how to do it, if only to encourage people to think more about demography in th...
You can read the original post in its original format on Rtask website by ThinkR here: Mock Them All: Simulate to Better Test with testthat Unit testing in R. You know, those small functions that ensure your code works flawlessly—even when you’re on vacation or writing new modules at 2 a.m. But let’s be honest: when it comes to testing user interactions or external resources, things can quickly turn into a headache. What do you do when your code requires a file selection dialog or This post is better presented on its original ThinkR website here: Mock Them All: Simulate to Better Test with testthat
Read it in: Español. To be part of the rOpenSci Champions program has been an experience of professional growth and an opportunity to contribute to the rOpenSci community. I learned about R package development while working on a tool to facilitate acc...