Ondrej Mottl 🌿💻📈🌍⏳
banner
ondrejmottl.bsky.social
Ondrej Mottl 🌿💻📈🌍⏳
@ondrejmottl.bsky.social

Assistant Professor at the Department of Botany🌿 , Charles University.
Head of Laboratory of Quantitative Ecology (bit.ly/CUNI_QuantitativeEcology)
with a main focus on #communityecology 🏞️, #palaeoecology 🕰️, and interest in #datascience 💻. .. more

Environmental science 30%
Biology 28%
Pinned
1/🧵Introducing VegVault🌿🔒🏛️
A global database linking paleo- & neo-vegetation data with functional traits & abiotic drivers!
🚀A powerful tool for researchers exploring biodiversity dynamics across time & space

🔗 Website: bit.ly/VegVault
#VegVault #Ecology #Paleoecology #Vegetation #FunctionalTraits

I do it so that I have that information available whenever I need it (which ia mostly for grant proposals)
{renv} is the package you need that you never know you needed

For easy to get up and running and honestly makes your life exceptionally easy.

docs.posit.co/ide/user/ide...
renv – RStudio User Guide
docs.posit.co

What distro are you using? Have you tried Omarchy?

As always, super useful tool from @blasbenito.com!
Looking forward to using it!
On the other hand, the R package {collinear} (URL: blasbenito.github.io/collinear/) saw an increase in downloads after release 2.0, a version with no breaking changes.

Version 3.0 is coming soon, with a few significant improvements and some changes, so we'll see how things go after that.

#rstats

Reposted by Ondřej Mottl

On the other hand, the R package {collinear} (URL: blasbenito.github.io/collinear/) saw an increase in downloads after release 2.0, a version with no breaking changes.

Version 3.0 is coming soon, with a few significant improvements and some changes, so we'll see how things go after that.

#rstats

Reposted by Ondřej Mottl

{targets} makes you feel bad when a job is done, because those computers are now being very lazy #rstats

Reposted by Ondřej Mottl

Halloween logicals, still the best 10/31 venn

Been thinking about switching to #Linux 🐧 (from #Windows). I use loads of MS tools — #VSCode, #GitHub — but there’s only so much you can do with Win11 customisation 😅
The recent hype around #Omarchy might be the final push!
Any #DataScience #Rstats folks tried it yet?

#rstats #RStats

Reposted by Ondřej Mottl

new blog post:

Of course, someone has to write imperative code to build reproducible data science pipelines. It doesn’t have to be you.

brodrigues.co/posts/2025-1...
I find there's a huge mismatch between the standard advice that people give about scientific conference talks, and how people actually give talks.

So I picked out the most important pieces of advice that are most often ignored. 🧪
The best scientific talk advice that gets ignored
Here are some prescriptions for a case of UCPS (Unengaging Conference Presentation Syndrome).
scienceforeveryone.science

What package do you use the edit (eg recolour) pictures in R?

Positron (VS Code) is much better for version control (git). It has better support for branches and pull requests. In general, my recommendation is to use the Command palette a lot (ctr+shift+p)

How to do data visualisation right👇🌟🔥
Friday night early #TidyTuesday of British Literary Prizes.

Wanted it as a bookshelf, made it into a bookshelf 📚

Code: github.com/borstell/tid...

#R4DS #DataViz

Reposted by Ondřej Mottl

Friday night early #TidyTuesday of British Literary Prizes.

Wanted it as a bookshelf, made it into a bookshelf 📚

Code: github.com/borstell/tid...

#R4DS #DataViz

Different profiles in VS Code (even theme) to force the brain to think differently?

Reposted by Ondřej Mottl

The making of this week's #TidyTuesday chart recorded with {camcorder} in #RStats 📹

Cool! I have solved the same issue by writing an R script which will take JSON with colors as output SCSS with all those. The benefit of using meta programming is that the same colors can be loaded into ggplot theme and ALL colors in presentation are the same😋🌟

It is some kind of tiling manager (name?). The left side is resource usage overview (name?). Right top is terminal (name?). Right left is text editor?

Can you walk us through - what are we actually seeing in the picture?😅

This then massively enhanced with shortcuts for file navigation:
Ctrl+p to fuzzy search and open any file
Ctrl+tab to switch between tabs
Ctrl+alt+right to move tab to the right part of screen (split the window)
Ctrl+number to jump between tab groups (1/2 if you have splitted the window in 2)
One of my favorite recent Positron discoveries is that you can not only (1) pin tabs, but (2) put the pinned tabs on their own dedicated row (after enabling that setting), which is glorious for workspace tab management #rstats

Reposted by Ondřej Mottl

One of my favorite recent Positron discoveries is that you can not only (1) pin tabs, but (2) put the pinned tabs on their own dedicated row (after enabling that setting), which is glorious for workspace tab management #rstats
The quarto-preprint @quarto.org extension (github.com/mvuorre/quar...) for PDF outputs with #typst now includes proper appendices for reproducible #quartopub #rstats manuscripts, improved two-column layouts (and themes, incl. full-width content), better reference formatting & improved documentation.

R
{tidyverse}
%>%
<-
{palmerpenguins}
tidyr::pivot_longer()
dplyr::group_by()
Quarto
purrr::map()
dplyr::mutate()
VS Code!
R 🆚 Python
Base R 🆚 Tidyverse
%>% 🆚 |>
<- 🆚 =
T 🆚 TRUE
iris 🆚 penguins
gather 🆚 pivot_longer
group_by 🆚 .by
Quarto 🆚 RMarkdown
map 🆚 lapply
DT[, z := x + y] 🆚 mutate(df, z = x + y)
RStudio 🆚 Positron
#rstats 🆚 #databs

Reposted by Ondřej Mottl

R 🆚 Python
Base R 🆚 Tidyverse
%>% 🆚 |>
<- 🆚 =
T 🆚 TRUE
iris 🆚 penguins
gather 🆚 pivot_longer
group_by 🆚 .by
Quarto 🆚 RMarkdown
map 🆚 lapply
DT[, z := x + y] 🆚 mutate(df, z = x + y)
RStudio 🆚 Positron
#rstats 🆚 #databs

Reposted by Ondřej Mottl

Wondering if you can outsource your data viz work to ChatGPT? 📊

I tested out a few different generative AI tools, giving them prompts to visualise two different data sets. If you're interested in the results, you can read them here: nrennie.rbind.io/blog/gen-ai-...

#RStats #Python #DataViz #GenAI
Generative AI for Data Visualisation – Nicola Rennie
Can generative AI create good data visualisations? This blog post compares the performance of ChatGPT, Claude, Copilot, and Gemini when presented with a generic request to visualise a dataset.
nrennie.rbind.io

Reposted by Ondřej Mottl

Reposted by Ondřej Mottl

✨ Check out {cli} - an R package for beautiful command-line interfaces!

Use it to add headings, alerts, lists, progress bars & more, with built-in colors and themes. Perfect for making console output clear and stylish.

🔗 github.com/r-lib/cli

#rstats #RPackage #cli
GitHub - r-lib/cli: Tools for making beautiful & useful command line interfaces
Tools for making beautiful & useful command line interfaces - r-lib/cli
github.com

Just a friendly warning. Such functionality still have -experimental- tag so it might change in next versions.

I am using a similar approach but calling the variable 'verbose' (default FALSE). I hope it is less confusing for other users as turning it to TRUE will start printing A LOT of information about the internal processes.