Skip to content
R for the Rest of Us Logo

Making Your Reports Shine: HTML Edition

This lesson is locked

Get access to all lessons in this course.

Transcript

Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.

Your Turn

Change the theme of your report by adding a theme option to your YAML. Use any of the following options: "cerulean", "cosmo", "flatly", "journal", "lumen", "paper", "readable", "sandstone", "simplex", "spacelab", "united", and "yeti"

Learn More

The list of themes I referenced in this video are found in RMarkdown: The Definitive Guide.

The other themes/collections of themes I mentioned are below:

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.

Abby Isaacson

Abby Isaacson

June 9, 2021

David can you remind me (or what class call it was on), how do you recommend sharing final html report links? I've learned I can't share the file link from R Studio, because that's just a file link to my desktop. When I push the html to Github, it's jibber. Do I have to host the link on a free site?

David Keyes

David Keyes

June 9, 2021

Yup, I suggested using either GitHub Pages or Netlify. You can see that we discussed these in our week 11 live session starting at around 15:00.

Abby Isaacson

Abby Isaacson

June 9, 2021

Can you think of a reason why I don't have a Settings option/icon on my GitHub page? I can't access making it public or going to Pages. After the Insights icon on the menu bar, Settings is not there.

Abby Isaacson

Abby Isaacson

June 9, 2021

Similarly, Netlify can't see any repositories for my oabby1 account, and I'm not sure if it's because none are public, or or I haven't setup Netlify through GitHub, or I should be trying to connect to Rin3mo.

David Keyes

David Keyes

June 9, 2021

I actually think this is because the repo is owned by the organization, not by you personally. I can make you the owner if you'd like, which will make it move to your personal account and let you fully control it. Alternatively, you could just copy everything from the existing repo, make a new repo, paste all content there, and then post it to your personal account. Let me know if any of this is confusing!

Abby Isaacson

Abby Isaacson

June 10, 2021

I'll try to the copy paste option first.

Abby Isaacson

Abby Isaacson

June 10, 2021

I think I'm so close! But getting an error. I was able to copy my files over to my public repo, then created a page and added the html file. https://oabby1.github.io/R-reports/Measles-Vax-Rates-in-US-schools.html But I get this error: The site configured at this address does not contain the requested file.

If this is your site, make sure that the filename case matches the URL. For root URLs (like http://example.com/) you must provide an index.html file.

Any ideas?