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. :awesome:
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. :awesome:
R is wonderful: Creating a Supplement PDF full of summary & regression results tables, and estimated marginal mean plots, all completely auto-generated by the R Markdown code itself with no need for any manual post-modifications. 'gtsummary', 'ggplot2' rock! #Rstats #RMarkdown
Next week I get to present an #RStats talk on writing code to be run by people with no programming experience that requires some interactivity.
Have some examples of parameterised #RMarkdown documents; of #Shiny and using source to call more complex code without overwhelming them.
I also plan on concentrating on the importance of training these staff on the differences between errors, warnings and messages (which are unhelpfully similar in appearance in R).
Any other suggestions? (1/2?)
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?
So far, I have been a very enthusiastic user of #rstats, #rdatatable , #rmarkdown and #ggplot2 in #RStudio . I am looking for an equally effective, modern #python based setup . So far, I think I will go for #polars, #quarto and #plotnine in #vscode with #uv as package manager . Does anybody have suggestions about pitfalls in switching or advice for the setup? Or are there potentially better alternatives?
Interactive resizing of picture and table content in Rmd and Quarto: https://r2resize.obi.obianom.com/index.html #rstats #quarto #rmarkdown
@robyn If I stop videos and go back to a website or blog, I’ll get your advice on #Hugo through #RMarkdown as that seems like a fun route. I take all the advice I can get from people with actual #skillz. My two coworkers with PhDs in ML have me using PyCharm for my air quality project and another good coworker got me to dual boot my desktop into #Mint running on a USB. Wish I used a bigger USB as Mint is nice in my limited use so far
📽️ Just dropped a new video on R Markdown — your ultimate tool for blending code, text, and visuals into beautiful reports!
🧠 Perfect for data analysis, academic writing, or automated reporting — and best of all, it’s 100% open-source.
📊 You can even create presentations, so you can ditch Excel, PowerPoint, and Word — all in one reproducible workflow.
🎥 https://youtu.be/cWbG26gKOpM
#RMarkdown #OpenSource #DataScience #ReproducibleResearch #RStats #FOSS #DataViz #TechEducation #LaTeX
Dear #rstats - and #rmarkdown -experts,
I am experiencing a strange rendering bug, that only occurs when R is running non-interactively. Additionally, it only happens when a chunk returns a plain list and only for lines with a length around 80 chars.
Using cat() is a work-around.
But I'd be interested in the cause of this anyway.
If you want to look, you can find a reprex here:
https://stackoverflow.com/q/79673637/1844418
PS: Sorry for cross-posting
@tinyspheresof @rkward Sorry for the late response. Currently, there is no such functionality in #rkward, except that one in the screenshot.
But let me tell you about an upcoming feature called “Code navigation”. It is enabled in the latest AppImage (https://cdn.kde.org/ci-builds/education/rkward/master/linux/)
It helps you to very quickly navigate the R and #RMarkdown scripts. It will address your problem directly.
A first today: I changed the citation style in my #rstats #Rmarkdown doc, and it was easy and it worked! Thanks to Nicolas Tierney's "Rmarkdown for scientists" rmd4sci.njtierney.com/citing-artic... and github.com/citation-sty.... Save the csl code in a file in your R project and add a YAML line. 😎
13 Citing Articles & Bibliogra...
I'm trying out #Rkward on my new #KDEneon install. Is there any way in an #Rmarkdown script to highlight the code blocks/chunks in the script editor? They now have the same background as the rest of the script, and don't really stand out.
The three backticks / graves at the start and end of the code block do have a different background colour, but not the code in between.
Interactive resizing of picture and table content in Rmd and Quarto: https://r2resize.obi.obianom.com/index.html #rstats #quarto #rmarkdown
Как я за год написал шесть больших научных статей и несколько маленьких
Без «литературных негров» и чатГПТ — личный рассказ об инструментах, технологиях и приёмах, которые помогли мне не вылететь из аспирантуры и догнать коллег. Открытые данные, Python, R, RMarkdown, Quarto, git и немного ИИ в помощь исследователю.
https://habr.com/ru/articles/898038/
#научные_исследования #научная_работа #научные_статьи #открытые_данные #публикации #rmarkdown #deepl #rstudio #git #r_lang
Looking for tips on how to love #julialang Pluto.jl. So many people enjoy it and I just don't get it. Likely just me as I also dislike #Jupyter notebooks and prefer the "see all and be reproducible" style of #RMarkdown and #Quarto. Why F1 to see keyboard shortcuts. Why clunky Path/URL navigation?
3/ And this is an example #Rmarkdown document and the output
Template available here: https://github.com/Pakillo/grateful/blob/master/Rmd_Quarto/separate_bibliographies/grateful-Rmarkdown-separatebib.Rmd
Writing manuscripts in #Quarto or #Rmarkdown?
Here's how to easily generate an appendix citing the #rstats packages used with {grateful}
https://pakillo.github.io/grateful
1/
Interactive resizing of picture and table content in Rmd and Quarto: https://r2resize.obi.obianom.com/index.html #rstats #quarto #rmarkdown
For branded charts, check out {unhcrthemes}, shared yesterday! Together with {unhcrdown}, it forms a complete ecosystem for UNHCR data viz and reporting.
🔗 https://cran.r-project.org/web/packages/unhcrthemes/index.html
@kupac I have all these same concerns about notebooks and more. I find #rmarkdown and #quarto much better than Jupyter, but they still suffer from similar problems.
Unless I am explicitly planning on compiling an HTML report, I tend to stay away from these literate programming tools.