Open dongdongkim99 opened 6 months ago
@dongdongkim99 Here are a few things to try: Update all packages. Save your RMD to a local folder then click "Run Document". Make sure you are clicking "Run Document", not just the code chunks or "Run". If these do not work Stack Overflow posts are indicating uninstalling and reinstalling both R and RStudio. R and RStudio and all RMD files need to be on a local file, not a network file.
@JasonSills Thank you. It worked! "Run document" was the key. But I don't know why it's not working when clicking run at the code chunk. It made no problems in the previous lab.
@dongdongkim99 It's the nature of Shiny. Shiny is building an interactive dashboard. In this case the entire document is needed to build the dashboard. When we run just one chunk we are executing only on that portion. In a Shiny dashboard we cannot have a part, we must have the whole.
@JasonSills
Sorry for asking on Sunday. I tried using Run Document on the Lab 4 template. There are no errors, but it just outputs '' like below and doesn't open a new window.
![image](https://github.com/Watts-College/paf-513-template/assets/25486513/db3e36b7-a5a5-455e-8e20-169b6329803b)
I already have 'flexdashboard' and 'shiny' installed. I also tried updating following krangaraju's question post, but the issue remains unresolved. Is there something I'm missing? Please help~