How to use this website?
Labs
Besides Learn, lab instructions will be made available here too. They are exact match, but can be at the tip of your fingers when you need to access them via website. Simply bookmark this website on to your browser.
Labs files are made with Quarto
. If you want to access the very .qmd
documents to use and replicate the code, you should:
Use the latest version of
RStudio
, at leastVersion: 2022.12.0+353
or later on your computer.Within
RStudio
, click onnew file
drop down menu and open a newQuarto Document
(see the first figure), and name it.Once the
.qmd
document is opened, go to thesource
tab, erase the default code and paste the code from the corresponding lab file (from line 1 up to the final line). Then hitRender
. You will see output in theViewer
menu.You can click
Show in a new window
to open rendered code in your local browser window (see the second figure for highlighted commands).
Slides
Slides are made using revealjs
on Quarto
. There are three ways to use them:
Use live: From Presentations, click the corresponding presentation. They can be displayed live simply by clicking on them and using the keyboard
arrow keys
.Save as pdf: Get to the corresponding presentation as explained above. This option only works with
Google Chrome
as explained here.The
revealjs
files: The original code files on Github Repo are inside thepresentations
folder.
The process of using them is similar as using any other .qmd
documents explained above. Once they are opened in RStudio
, the Present
button from the Presentation
tab can be used to open the presentation in the local browser - that can be presented from there.
Week 1
Use Week01.qmd
.