#ReproducibleResearch
Performing some quick statistical analyses in classic #RStats and neatly “knitting” them into a PDF using #RMarkdown, #knitr, and #MacTeX #texLaTeX.
Call me old-fashioned, but I really enjoy this workflow. 
Switching from #rmarkdown and #rdatatable to #quarto and #polars is a bit cumbersome. I just want to compile a document with tables to pdf.
If I print a polars table, I get the data type with it. If I convert it to pandas df, I get an index. If I set_tbl_hide_column_data_types, my strings get quotes. Is there no #knitr kable equivalent in #Python /Quarto?
I posted a new introduction to surface #gifti and volume #NIfTI #fMRI data at https://mvpa.blogspot.com/2025/01/intro-to-working-with-volume-and.html.
The material is mostly general, with all examples using #baseR #rstats code; it's accompanied by a major update to my gifti #knitr tutorial.
I hope these will be useful to folks getting started with #neuroimaging datasets, as well as anyone looking for example scripts for reading, plotting, and manipulating (human fMRI) brain data files.
Holy cow is #Rmarkdown #RStats #knitr inferior to #Jupyter. 😠
- WHY does it need to rerun EVERYTHING for hours when making a HTML/PDF?
- WHY is the apparent solution (caching) so weird? No clear instructions, only blog posts with broken formatting everywhere.
- WHY don't you at least see where it hangs during the process? No indication which line is currently executed?
- WHY does making a PDF silently fail after hours?
[/rant]