Discover and read the best of Twitter Threads about #Rmarkdown

Most recents (18)

[1/8] 📚 Introducing #Quarto: A Versatile, New and Exciting Publishing Tool! 🌟
Quarto is a powerful, open-source, and user-friendly publishing framework that streamlines the process of creating beautiful books, documents, and websites. Let’s explore it now!
#RStats #DataScience Image
[2/8] 🤓 Language Agnostic: Quarto works seamlessly with multiple languages, including #Markdown, #LaTeX, #RMarkdown, and #Jupyter notebooks. So, whether you're a researcher or a creative writer, Quarto has you covered! 🌍
#DataScience #RStats
[3/8] 🔁 Format Flexibility: With Quarto, you can convert your content into various formats, such as PDF, HTML, EPUB, and even slide presentations. It makes sharing your work with diverse audiences a breeze! 🌬️
#RStats #DataScience
Read 8 tweets
1/ 💡 Advanced R Markdown: Tips, Tricks, and Best Practices 📝 Learn how to create impressive, dynamic, and reproducible documents with R Markdown. We'll cover advanced formatting, interactive elements, and custom templates. Follow along! #rstats #AdvancedR #RMarkdown Source: https://rmarkdown.r...
2/ 📐 Advanced Formatting: Enhance your R Markdown documents with:
•LaTeX for mathematical notation
•HTML/CSS for custom styling
•Tables with kableExtra or gt for enhanced visuals
•Incorporating citations with BibTeX
•Including external images or files
#rstats
3/ 💫 Interactive Elements: Bring your documents to life with:
•Shiny for reactive, interactive content
•plotly for interactive graphs and charts
•DT for searchable, sortable tables
•crosstalk to link interactive widgets
•leaflet for interactive maps
#rstats
Read 10 tweets
💥14 herramientas secretas impulsadas por #RStats para ahorrar tiempo y esfuerzo en tus proyectos de datos (¡No te lo pierdas!):👀
1️⃣ ¡Edita tus datos de forma interactiva (y guarda el código)! 👀
📦 'editData' es un complemento de RStudio para editar un data.frame o un tibble de forma interactiva
🔗 buff.ly/3U5Tgjy

#DataScience #DataVisualization #dataviz #stats #analytics #RStats #Analytics
2️⃣ ¡Crea gráficos #ggplot de forma interactiva!🚀
📦esquisse es otro de mis addins favoritos de #rstudio
✅ exporta el gráfico o recupera el código para reproducir el gráfico
🔗 buff.ly/3mxLHSo
#DataScience #DataVisualization #dataviz #stats #analytics #RStats #Analytics
Read 17 tweets
(1/n) I'm sure that there are tons of #DataViz & #rmarkdown tips & tricks out there. So in this thread, I would just like to share a bit of my coding adventures. 🤓💻
(2/n) Before discovering the wonderfulness of ggplot2, my figures were confined to the "limits" of MS Excel. While it is definitely possible to create coherent plots in Excel, it does get kinda clunky when you have more complex data. And what about overlaying my plots?? 🤨
(3/n) Cue ggplot2! Its super intuitive, customizable & compatible with tons of extensions that "enhances" one's plotting capabilities.

I've also been using @CedScherer AMAZING guide, which takes your plots to a whole other level. 🤩
cedricscherer.com/2019/08/05/a-g…
Read 6 tweets
"Graphic Design with #ggplot2" 👨‍💼👩‍💻🧑‍💻

Do you want to recap the 2-day workshop at #rstudioconf? Or do you feel sad you've missed it?

🔥 All course material incl. latest updates can be found on the workshop webpage—9 sessions, 760 slides, 314 ggplots!

👉 rstudio-conf-2022.github.io/ggplot2-graphi… A screenshot of the rstudio::conf(2022) workshop "GraphA screenshot of the title slide of that workshop.The motivational example illustrating the capability of ggpl
@rstudio The session pages contain not only the slides but
🔵 hands-on #rstats codes
🔵 recap notes
🔵 exercises incl.
🔵 prepared scripts, either as #quarto or #rmarkdown
🔵 step-by-step solutions

➕ all source codes on GitHub: A screenshot of a session page, showing the recap notes and A screenshot of the script to answer exercise 1 of the firstThe title slide of the solution slide deck for exercise 1 inThe raw code for one of the exercises.
Some exemplary #dataviz from the workshop, 💯 done in #rstats thanks to #ggplot2 A colorful boxplot with overlaid juitterstrips. Three differOne of the exercise graphics using sina plots and errorbars,A bar plot showing reported bike counts as sums per season aThe "Speed of Language" visualization using normal
Read 4 tweets
Rmarkdown is a reproducible authoring format in #rstats supporting dozens of static and dynamic output formats.

Let's review why and how you should containerize Rmd files!
Runtime: shiny - Add this to the document’s YAML header.

Now you can add Shiny widgets and #Shiny render functions to the file’s #rstats code chunks.

Use rmarkdown::run() as CMD in your Dockerfile
Runtime: shinyrmd - The doc is pre-rendered before deployment so that the HTML loads faster.

Add a rmarkdown::render() step in the Dockerfile
Read 8 tweets
Today we begin a new series: “A Quarto tip a day keeps the docs away” -- a playful attempt to share Quarto tips daily for the next month. Follow along:

🐦 #quartotip
🔗 rstd.io/quartotip

And, of course, don't keep the docs away, they're incredibly helpful and thorough!
#quartotip 1: Use the layout-ncol chunk option to organize output in columns, e.g. layout-ncol: 2 for two tables side-by-side.

Read more: mine-cetinkaya-rundel.github.io/quarto-tip-a-d… R code for generating two t...
#quartotip 2: Use the echo: fenced chunk option to display the fences around your code chunks in your output. Super useful for teaching Quarto!

Read more: mine-cetinkaya-rundel.github.io/quarto-tip-a-d… Two R chunks are displayed....
Read 32 tweets
New version of {grateful}, the package that makes it very easy to cite #Rstats packages, so that #software authors get their deserved credit.

pakillo.github.io/grateful/

Major changes: 1/6
2/ To get a document with formatted citations for all the #rstats packages used in your analysis, just run

library(grateful)
cite_packages()

Now includes pkg versions and all their citations, ready to paste into your manuscript or report Image
3/ {grateful} can now be used within #Rmarkdown!

Just include a chunk with

cite_packages(output = 'paragraph')

and you'll get a paragraph with in-text citations for all pkgs and a formatted reference list ImageImage
Read 6 tweets
1/10 Very happy to share my first PhD paper in @naturesustainab on the relationship between modern energy access and fertility transition in 44 countries over 26 years. 💡👨‍👩‍👧‍👦🪵

Team work with @RmnHoffmann, @pppichler and Helga Weisz (@PIK_Climate @IIASAVienna @WICVienna @OeAW)
2/10 Today ~ 2.6 billion people lack access to modern energy, and a large share of women worldwide do not have complete control over their reproductive choices. What empowers women to make reproductive choices?
3/10 Access to modern energy improves women’s well-being as it saves time on household chores, improves health and enables access to education and information.
These foster women’s ability to make reproductive choices, which tends to reduce birth rates.
Read 10 tweets
Hi all 👋 today I would like to talk about #CV tips. Did you know you can create your CV in #rstats? There are so many cool 📦 out there!
I personally use {vitae} with a good range of eye-catching templates to choose from, I highly recommend it!
What I like the most about building my CV in R is that I can organize everything in an R-project, I push to GitHub which gives me track changes and I can use the great advantages of #rmarkdown and #latex. Here is the repo of my #vitae CV github.com/loreabad6/R-CV
I had to modify a bit the .csl file to adapt certain details to my taste, and I included a 🗺️ of my journey which has had some nice feedback, as it serves as a visual presentation card 💃 A preview of my CV made with the vitae R package
Read 6 tweets
Morning! Let's continue with the polling results, today and get some #learningtips. Here is what people voted for regarding learnings strategies! Not surprisingly, the big majority likes some hands-on exercises, although a mix between theory and practice is also welcome 😎 Results to poll about learn...
📚 Very few people voted for learning from books about coding, but have you already seen all the resources out there? #rstats has a big pile, and the best way to browse them all is with the Big Book of R #rmarkdown #bookdown
bigbookofr.com/index.html
Most of the people like blogs and written content. Well this is the perfect opportunity to point you to the #RLadies blogs collected by @PipingHotData & @DrMowinckels
Read 4 tweets
Latest paper is up! We fed mice high protein diets for 24 weeks and measured the #microbiome 🦠, #kidney function and #gut leakiness. Here's what we found: onlinelibrary.wiley.com/doi/abs/10.100… @sihmin_tan @MelindaCoughlan @MonashDiabetes
1) high protein diets alter the microbiome...but what's interesting is when we looked at the predicted metagenomes (using picrust2) we saw⬇️BCAA synthesis and⬆️urea cycle pathway.
2) the high protein diet caused inflammation and intestinal permeability:
⬆️ plasma endotoxin
⬆️ plasma MCP1
⬆️ TNFα expression in jejunum and ileum
⬇️ occludin expression in jejunum
Read 5 tweets
Fall is here and a lot of students are starting their journey as #rstats users. This can be tough, especially with all the barriers to learning that 2020 is throwing at us. Here are some tips (almost all from @JennyBryan!) I wish I’d followed from the start of my #rstats career
Beginning #rstats users sometimes focus on the mechanics of R and don’t get around to establishing some best practices that will set you up for writing more efficient and reproducible code. These all will make your life easier in the long run, I promise! #openscience
1. Develop a project-oriented workflow. Decide on a common file structure and stick with it for every project. Here’s what I use, based on this great paper journals.plos.org/ploscompbiol/a…. That way, you always know where to find files in any project Image
Read 10 tweets
Just learned an amazing #rstats trick: You can embed #learnr apps using `knitr::include_app()` for live coding demos *inside* #xaringan slides! 🤯 This way you don't have to switch b/w slides and #rstudio IDE for live demos, reducing cognitive load. #rmarkdown knows no bounds! 🤩
Here's a little code snippet that shows how: Image
IMO live coding inside slides would be particularly useful for illustrating common beginner mistakes and "gotchas" (as demo'd above). If you have the #shiny apps publishing capacity, you could even have students type code inside slides along with you in real time
Read 4 tweets
THREAD/RANT: Just watched a great #rstats webinar. Presenter is an author of many📦s. At the end, the host suggested that the (100s of) attendees go file issues on the 📦s Github repos & comment on the presenter's blog posts to ask Qs they didn't get answered in the webinar. 1/?
This is absolutely NOT how you get answers to #rstats questions. Not only will you waste the package author's time, you will waste your own time. So, here are some tips on how to get help in #rstats. TL;DR: filing Github issues, tweeting/emailing pkg author are LAST RESORTS. 2/?
(These tips are ordered based on my experience to get you an answer as fast as possible.)

#1: Read the relevant documentation. #rstats Many packages have websites & vignettes. Consult those, too.
Read 18 tweets
I need to teach get ~40 new #rstats students up and running with #RStudio and using #rmarkdown. Here's some resources I'm looking checking out for use in my class
1/n
"Introduction to R Markdown" by Michael Clark has good overview information on #rmarkdown
m-clark.github.io/Introduction-t…
2/n #rstats
"Getting used to R, RStudio, and R Markdown" by the prolific @old_man_chester looks like it has some very practical material for #rmarkdown and #rstudio, including GIFs
bookdown.org/chesterismay/r…
2/n #rstats
Read 9 tweets
1. New (first) paper now available: Exploring the effects of BCG #vaccination in patients diagnosed with #tuberculosis: Observational study using the Enhanced Tuberculosis Surveillance system

Paper: doi.org/10.1016/j.vacc…
Preprint: doi.org/10.1101/366476

#phdchat #rstats
2. Highlights

Evidence of an association between BCG vaccination and reduced all-cause mortality in TB cases.

Weaker evidence of an association between BCG vaccination and reduced repeat TB episodes in TB cases.

Little evidence of an association with other TB outcomes.
3. Background: Bacillus Calmette–Guérin (BCG) is one of the most widely-used vaccines worldwide. BCG primarily reduces the progression from infection to disease, however, there is evidence that BCG may provide additional benefits.
Read 7 tweets
At #SDSS2019, I am chairing a session on workflows with @TiffanyTimbers @mikelove @stephaniehicks at 3:45 in Regency C - it is tucked away a bit in the corridor between AB and D
Read 55 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!