Closed kobekko94 closed 6 years ago
When you use the knitr approach (e.g., hit the knit button), the code will run in the directory where that Rmd file is. So even if you change directory (using setwd or similar) it will be ignored UNLESS you actually do this inside the Rmd file.
Here, you could put this above the read_csv line:
setwd('../SZIV-deidentified')
Noted. Resolved problem by moving "2017-Summer" folder into directory "Yusuke-Flexdashboard-Practice". Thanks, Dav!
When I ran this code, I got the following error:
But when I checked getwd(), I was in the correct directory:
What's going on here?