Watts-College / paf-510-template

https://watts-college.github.io/paf-510-template/
0 stars 0 forks source link

Lab Assignment 4 Raw HTML Code RStudio 4.3.2 #62

Open alizea-alvarez opened 6 days ago

alizea-alvarez commented 6 days ago

@nickmcmullen @AntJam-Howell

I'm using the Rstudio (version 4.3.2) app on my Windows laptop. When running my code for Part 1 Question 1, the output renders as raw HTML instead of displaying the actual table. I clicked open the template provided and haven't changed anything from the top of the document page. What can I do to render the actual table? Screenshot 2024-09-12 211730

nickmcmullen commented 6 days ago

@alizea-alvarez the chunk options results = 'asis' generates HTML code that should render into a nice table when you knit. Try it and let me know what you see.

cekuhlma commented 5 days ago

@alizea-alvarez I was having the same problem and changed the type ='html' to type='text' and was able to see the chart. Not sure if that will help.

alizea-alvarez commented 5 days ago

@cekuhlma

That's exactly what I ended up doing! Thank you!