You can make levels of headings in Rmarkdown documents using hash
Don’t forget to add a space after the hash for the title to display
You can make words bold or italics by using the asterik sign on both sides of the text.
two asterik for Bold
one asterik for Italics
You can bullet points by using dashes.
Don’t forget to add a space after the dash to get the bullet to show
You can get quotes using >
“Not all things mean well end well- Fiona Zhou”
You can insert links with a combination of round and square brackets. Put the text in the round brackets and the url in the square brackets.
You can find resources in Jen’s Rmarkdownthrowdown event in Jen’ Github.
For R-Ladies Sydney basic tutorial use of RMarkdown.
You can embed all kinds of material using RMarkdown
use
back tickback tick to generate a picture
At the post used the three dots and select embed post to copy/past code
🎉 Join us for our final R-Ladies Sydney event of 2024!
— R-Ladies Sydney (@RLadiesSydney) December 8, 2024
📅 When: Wed, December 18, 5:30PM
📍 Where: Moore College
🎯 What: A casual social catch-up to network with fellow R enthusiasts, celebrate the year, and build new connections.
👉 RSVP here: https://t.co/aK0W0krVzp
use
back tickback tick to generate a GIF or
Find a gif to embed <> and copy/paste code
We can intersperse notes and code “chunks”
use the green c + insert pull down or hotkey command+option I (mac)/ctrl+Alt+I (windows/linux).
To run the code select the green down arrow on the top right corner of the code chunk box or use hotkey ctrl+shift+Enter
library(tidyverse)
library(readr)
library(here)
library(tinytex)
beaches <- read_csv(here("data","cleanbeaches_new.csv"))
beaches%>%
na.omit() %>%
group_by(site)%>%
summarise(meanbugs = mean(beachbugs))%>%
ggplot(aes(x=site, y=meanbugs))+
geom_col()+
coord_flip()
# Export formats
The default is html, you can also export to pdf or word
install.package(“tinytex”) library(tinytex)