RStudio and RMarkdown
The HealthyR advent calendar is based on “R for Health Data Science” by Harrison and Pius. Use JKL20 for 20% off, including free worldwide shipping.
🌟Day 04 - Reading data into R🌟#HealthyR #rstats
— Riinu Pius (@_Riinu_) December 4, 2022
1⃣ New Project – New directory
2⃣ Move data into this new folder
3⃣ Click on file and let the import interface help you
Any questions: @ewenharrison and myself happy to answer here!
Freely available: https://t.co/Eb4XoRAQ2h pic.twitter.com/MB4lrUVbTI
🌟Day 17 – Understanding R Markdown🌟
— Riinu Pius (@_Riinu_) December 17, 2022
Header📍
Headings🗂
Text📝
Inline code - code inside text💙
Code chunk💙
Output (in this example it's a plot)📈#HealthyR #rstats "R for Health Data Science" 📖:https://t.co/hUFCXLx7Jf pic.twitter.com/cxUBouEEiM
🌟Day 18 - RStudio interface for R Markdown🌟
— Riinu Pius (@_Riinu_) December 18, 2022
Lots of useful buttons and options 🙈
Here are the most useful ones 💡#HealthyR #rstats "R for Health Data Science" 📖:https://t.co/KKSqQ5sqCK pic.twitter.com/Cx3iuN3INN
🌟Day 19 - Restart R regularly🌟
— Riinu Pius (@_Riinu_) December 19, 2022
Do this now so that old data won't come back to haunt you:
👻Tools -> Global Options
👻👻Uncheck restore
👻👻👻Never save on exit
Then save and load objects consciously!#HealthyR #rstats "R for Health Data Science"📖:https://t.co/LaWufbGb8J pic.twitter.com/31cQCNQghH
HealthyR: R for Health Data Science book and resources: https://healthyr.surgicalinformatics.org/