techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

5.3K
active users

#rmarkdown

0 posts0 participants0 posts today
Francisco Rodriguez-Sanchez<p>3/ And this is an example <a href="https://ecoevo.social/tags/Rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rmarkdown</span></a> document and the output </p><p>Template available here: <a href="https://github.com/Pakillo/grateful/blob/master/Rmd_Quarto/separate_bibliographies/grateful-Rmarkdown-separatebib.Rmd" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Pakillo/grateful/bl</span><span class="invisible">ob/master/Rmd_Quarto/separate_bibliographies/grateful-Rmarkdown-separatebib.Rmd</span></a></p>
Francisco Rodriguez-Sanchez<p>Writing manuscripts in <a href="https://ecoevo.social/tags/Quarto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Quarto</span></a> or <a href="https://ecoevo.social/tags/Rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rmarkdown</span></a>?</p><p>Here's how to easily generate an appendix citing the <a href="https://ecoevo.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> packages used with {grateful} </p><p><a href="https://pakillo.github.io/grateful" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">pakillo.github.io/grateful</span><span class="invisible"></span></a></p><p>1/</p>
Data Science<p>Interactive resizing of picture and table content in Rmd and Quarto: <a href="https://r2resize.obi.obianom.com/index.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">r2resize.obi.obianom.com/index</span><span class="invisible">.html</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/quarto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>quarto</span></a> <a href="https://genomic.social/tags/rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rmarkdown</span></a></p>
James Hawley, PhD<p><span class="h-card" translate="no"><a href="https://functional.cafe/@kupac" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>kupac</span></a></span> I have all these same concerns about notebooks and more. I find <a href="https://scholar.social/tags/rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rmarkdown</span></a> and <a href="https://scholar.social/tags/quarto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>quarto</span></a> much better than Jupyter, but they still suffer from similar problems.</p><p>Unless I am explicitly planning on compiling an HTML report, I tend to stay away from these literate programming tools.</p>
Still Mad About CD Prices<p>Hey, <a href="https://infosec.exchange/tags/Rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rstats</span></a> people: I'm always behind the curve on these things. Should I start using Quarto instead of <a href="https://infosec.exchange/tags/rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rmarkdown</span></a>? Is <a href="https://infosec.exchange/tags/Quarto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Quarto</span></a> open, accessible, etc.? Is it locked into Rstudio's little world, or is it enshittification-resistant? </p><p>I'm searching on these topics as well, but if anyone has the straight dope, I'd love to hear it.</p>
Pete Jones<p>I threw together a quick R package for executing the R code up to a specified point in a .Rmd/.qmd notebook. It's very much work-in-progress: <a href="https://codeberg.org/pjphd/catchup" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">codeberg.org/pjphd/catchup</span><span class="invisible"></span></a></p><p>I explain the idea behind it in the README, but the short version is I wanted the package to offer something similar to what the "run all chunks" family of features in RStudio does. As far as I can tell, nothing exists for this purpose, so maybe I'm the only person that wants to be able to do this (or maybe there's just not a lot of people left who work interactively but don't use RStudio or something VSCode-based). </p><p>If I'm not and you decide to try it out, please bear in mind the note of caution in the README, and let me know if you run into any problems or if it's missing something useful. This really is a first draft and I'm sure it can be better. 😄</p><p><a href="https://hcommons.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://hcommons.social/tags/quarto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>quarto</span></a> <a href="https://hcommons.social/tags/quartopub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>quartopub</span></a> <a href="https://hcommons.social/tags/rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rmarkdown</span></a></p>
kupac^ESC:wq<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@brodriguesco" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>brodriguesco</span></a></span><br>I commend you for pointing this out. I am no fool anymore. (Just made a report template using params yeeey \o/ )<br><a href="https://functional.cafe/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://functional.cafe/tags/rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rmarkdown</span></a></p>
Yann Büchau :nixos:<p>Holy cow is <a href="https://fosstodon.org/tags/Rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rmarkdown</span></a> <a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RStats</span></a> <a href="https://fosstodon.org/tags/knitr" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>knitr</span></a> inferior to <a href="https://fosstodon.org/tags/Jupyter" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Jupyter</span></a>. 😠</p><p>- WHY does it need to rerun EVERYTHING for hours when making a HTML/PDF?<br>- WHY is the apparent solution (caching) so weird? No clear instructions, only blog posts with broken formatting everywhere.<br>- WHY don't you at least see where it hangs during the process? No indication which line is currently executed?<br>- WHY does making a PDF silently fail after hours?</p><p>[/rant]</p>
Tyler Smith<p><span class="h-card" translate="no"><a href="https://hachyderm.io/@djnavarro" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>djnavarro</span></a></span> </p><p>I hadn't heard of that, it sounds very interesting. </p><p>I'm a regular <a href="https://ottawa.place/tags/RMarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RMarkdown</span></a> user, and haven't found the time or motivation to jump to <a href="https://ottawa.place/tags/Quarto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Quarto</span></a>. It looks like a combination of removing the rough spots of RMarkdown, but also expanding the features in a way that adds to my mental overhead.</p><p>We have a *really* hard time embracing the elegance of a truly minimal system for writing. At this point I'd love to have the absolute minimum set of features beyond basic markdown for academic writing. Maybe <a href="https://ottawa.place/tags/litedown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>litedown</span></a> is that?</p>
Achim Zeileis<p>📄 New blog post on embedding <a href="https://fosstodon.org/tags/rexams" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rexams</span></a> exercises in <a href="https://fosstodon.org/tags/rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rmarkdown</span></a> or <a href="https://fosstodon.org/tags/quarto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>quarto</span></a> documents</p><p>Joint work with <span class="h-card" translate="no"><a href="https://fosstodon.org/@retostauffer" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>retostauffer</span></a></span> </p><p>Generate quizzes for self-paced <a href="https://fosstodon.org/tags/elearning" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>elearning</span></a> in <a href="https://fosstodon.org/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> </p><p><a href="https://www.r-exams.org/tutorials/exams2forms/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">r-exams.org/tutorials/exams2fo</span><span class="invisible">rms/</span></a></p>
Achim Zeileis<p>This is enabled by the new "exams2forms" <a href="https://fosstodon.org/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> pkg.</p><p>Can be used more generally to embed interactive exercises into <a href="https://fosstodon.org/tags/rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rmarkdown</span></a> or <a href="https://fosstodon.org/tags/quarto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>quarto</span></a> documents, online books, etc.</p><p>Already submitted to CRAN but for the moment at:</p><p><a href="https://zeileis.R-universe.dev/exams2forms" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">zeileis.R-universe.dev/exams2f</span><span class="invisible">orms</span></a></p>
Kelly Sovacool<p>I'm so desperate I actually posted a question on stack overflow about this 😅 </p><p><a href="https://stackoverflow.com/questions/79143394/improving-the-r-traceback-when-rendering-r-markdown-non-interactively" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">stackoverflow.com/questions/79</span><span class="invisible">143394/improving-the-r-traceback-when-rendering-r-markdown-non-interactively</span></a></p><p><a href="https://mastodon.social/tags/rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rmarkdown</span></a> <a href="https://mastodon.social/tags/rlang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rlang</span></a> <a href="https://mastodon.social/tags/posit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>posit</span></a> <a href="https://mastodon.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a></p>
René Dario 🇺🇲🇲🇽🐧🎮💻🕵🏽🏋️<p>Sometimes, when working with <a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RStats</span></a>, I wish to output a knitr::kable() object. I don't want to have to go through the trouble of creating an entire <a href="https://fosstodon.org/tags/RMarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RMarkdown</span></a> document just for the one table. Thankfully, I found a solution: <a href="https://stackoverflow.com/questions/50257488/save-knitrkable-output-to-html-file-r" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">stackoverflow.com/questions/50</span><span class="invisible">257488/save-knitrkable-output-to-html-file-r</span></a></p>
Data Science<p>Interactive resizing of picture and table content in Rmd and Quarto: <a href="https://r2resize.obi.obianom.com/index.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">r2resize.obi.obianom.com/index</span><span class="invisible">.html</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/quarto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>quarto</span></a> <a href="https://genomic.social/tags/rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rmarkdown</span></a></p>
Alex Holcombe<p>Using RMarkdown Quarto to make lecture slides now, have worked out most of the problems I had initially, and quite happy with using it now. I particularly like the background-image feature , with opacity, making it easy to have a nice unobtrusive background on all one's slides, and that image positioning is now quite easy. Example <a href="https://alexholcombe.github.io/PSYC2016lectures/lecture5distraction.html#/title-slide" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">alexholcombe.github.io/PSYC201</span><span class="invisible">6lectures/lecture5distraction.html#/title-slide</span></a> and code: <a href="https://github.com/alexholcombe/PSYC2016lectures" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/alexholcombe/PSYC20</span><span class="invisible">16lectures</span></a> <a href="https://fediscience.org/tags/Rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rstats</span></a> <a href="https://fediscience.org/tags/Rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rmarkdown</span></a></p>
James Hawley, PhD<p><span class="h-card" translate="no"><a href="https://fediscience.org/@giuseppebilotta" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>giuseppebilotta</span></a></span> <span class="h-card" translate="no"><a href="https://genomic.social/@mdziemann" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>mdziemann</span></a></span> I haven't heard that "offline"/"online" terminology before, but I think that's what I mean.</p><p>I think of workflow tools like <a href="https://scholar.social/tags/snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>snakemake</span></a> or <a href="https://scholar.social/tags/nextflow" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nextflow</span></a> as a kind of "offline" executor, and individual scripts are heavily documented to make them more literate-like. But if I want to collate everything into a legible report of some kind, then I'll reach for <a href="https://scholar.social/tags/rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rmarkdown</span></a> or <a href="https://scholar.social/tags/QuartoPub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QuartoPub</span></a> to show and explain the results.</p>
Jon Harmon<p>Charlotte Wickham is talking about <a href="https://fosstodon.org/tags/Quarto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Quarto</span></a> <br>I was skeptical ("isn't it just <a href="https://fosstodon.org/tags/rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rmarkdown</span></a> rebranded for python users?") but it has really grown on me. Quarto dashboards via card layouts look really easy, I should play with those more. <a href="https://fosstodon.org/tags/PositConf2024" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PositConf2024</span></a> <a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RStats</span></a> <a href="https://fosstodon.org/tags/PyData" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PyData</span></a> 🧵 8/17</p>
Francisco Rodriguez-Sanchez<p>This new <a href="https://ecoevo.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> package makes it very easy to monitor outputs for unexpected changes e.g. due to changes in data files or packages used: <a href="https://github.com/brandmaier/reproducibleRchunks" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/brandmaier/reproduc</span><span class="invisible">ibleRchunks</span></a> </p><p>Just replace r by reproducibleR in <a href="https://ecoevo.social/tags/Rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rmarkdown</span></a> or <a href="https://ecoevo.social/tags/Quarto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Quarto</span></a> chunks. When rendering you'll get a note if output has changed</p>
RKWard<p>RKWard is getting a very useful feature: the live preview of <a href="https://fosstodon.org/tags/RMarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RMarkdown</span></a> files, that previously was limited to HTML documents, can now render any output format, including package vignettes, but also PDF formats like beamer presentations or even custom formats. formats that RKWard can't show itself are offered to be opened in the system defined application. <a href="https://fosstodon.org/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a></p>
Miguel<p>I introduce you to taxnames, inserting taxonomic names in Markdown (and LaTeX) documents: <a href="https://github.com/kamapu/taxnames" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/kamapu/taxnames</span><span class="invisible"></span></a><br><a href="https://social.cologne/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://social.cologne/tags/rmarkdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rmarkdown</span></a> <a href="https://social.cologne/tags/quarto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>quarto</span></a> <a href="https://social.cologne/tags/taxonomy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>taxonomy</span></a> <a href="https://social.cologne/tags/biodiversity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>biodiversity</span></a> <a href="https://social.cologne/tags/taxlist" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>taxlist</span></a> <a href="https://social.cologne/tags/ropensci" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ropensci</span></a></p>