It really helped that it recognised RMarkdown chunks so transition was extremely smooth.
Posts by Riinu Pius
They grow up so fast ๐ฅน I still remember when Quarto was first released and I hopped on the new wagon immediately of course ๐ฅณ
Completed with my new favourite any library: Claude ๐ฅณ
Recommendations for a tidy #rstats package that creates dummy data from a data dictionary? Thank you!
Smiling and posing for a picture at the BBC Reporting Scotland studio behind the presenters' desk
I enjoyed this tour at work
Rebase Another Day ๐
Oh for sure. Not mutually exclusive imo.
It's a never ending lesson in humility. Just when I think I've got it...I don't.
I think by visualise you mean something fancier than a flowchart? Anyway I need to mention that library(consort) works well if it is a flowchart that you need.
Can't wait to try this out. Always an Alpha tester ๐๐ป
Fixed
Now fixed
Now maybe?
Fixed...
(True story)
Distressing
Aha! This is why it had stopped working for me. Or rather was just stuck on "thinking" forever. Now logged out and back in again and working again. Thanks very much for sharing and the video!
I was really keen to use IntelliJ IDEA for Python as it looks good and I had a licence anyway (DataGrip is awesome). But the PyCharm data explorer is just shocking. So I kept using Positron to view data, then stubbornly writing code in IntelliJ. Eventually came to my senses and now only use Positron
Nope, any number of loops spared is a win ๐๐ป
I'm working on Day 10 and have somehow put four maps inside two nested for loops ๐คช sorry not sorry
I'm revisiting Part II of this one and looking for ideas. Only just saw that you put for loops inside mutate?!? Revolutionary.
Neat as always ๐๐ป
Code from https://github.com/riinupius/advent2025/blob/main/day09/movie-theatre.R
#AdventOfCode Day 09 both parts #rstats
I used plotly to guide my search. Sue me ๐
Also as.matrix() and dist()
I just solved it too, team igraph ๐๐ป
MVP: is_connected(g) #igraph #rstats #AdventOfCode Day 08
Code from https://github.com/riinupius/advent2025/blob/main/day08/playground.R
kmeans in plotly
igraph plot
#AdventOfCode Day 08 - both parts using igraph! #rstats
igraph is superspeedy. pivot_wider() is slow, which to be fair creates 1k columns so that I can get the pairings. Will be a better way, but I was keen to get to igraph asap.
First for loop this year ๐ (but I failed Day 03 and skipped Day 04).
All simple paths and length
My original solution now solves Part II for Test data ๐
1.25 stars in total I award myself for Day 07 ๐คฉ
Distances function instead of all simple paths
Fixed it!!! With just distances() instead of all simple paths. I tried this earlier too only for the splitters in the last low. Running it on all splitters was the trick ๐
Now on to Part II, which surely requires all paths and therefore canโt be done with my love of graphs? #rstats
No I donโt need every single path, but all_shortest_paths() to final row isnโt sufficient as there are some paths to splitters that arenโt shortest. Although maybe if checked shortest paths to all splitters that would work ๐ค
Do I even want the number of paths? Is that for Part II?
Here for all the tips! (I donโt check Bluesky until Iโve had a good go on my own so by the time Iโm here Iโm happy to see and hear everything ๐)
Thank you! Might rewrite it with a matrix if have time but thing is I love igraph so much that if anything smells even remotely graphy thatโs what Iโll do. It does work for shortest paths, just that some of the splits are not the shortest possible way for a ray to get down so need all simple paths.
Ah good shout and I have used memoise happily in the past. Not sure it would work with my solution here as itโs a single igraph function call that gives me all the answers at once.