Structuring large projects (and dealing with slow knitting of Rmd files)
This lesson is called Structuring large projects (and dealing with slow knitting of Rmd files), part of the R in 3 Months (Fall 2022) course. This lesson is called Structuring large projects (and dealing with slow knitting of Rmd files), part of the R in 3 Months (Fall 2022) 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.
We received a question about an RMarkdown document that was taking around 10mins to knit and this was naturally quite frustrating! They wanted to quickly knit the document to check it was working.
The code in the RMarkdown document took a long time to run because it downloaded files and cleaned them. That's really annoying. In our consultancy projects we solve this problem by extracting the code for downloading and cleaning the data into separate scripts.
That sounds complicated! Watch the video below
Please do download the project I used in the video.
This is getting into fairly advanced territory. There is no need for you to follow this project structure at the beginning of the course (unless your report is really slow!). But this is useful advice for your future real-world projects.
Please do ask any questions you have below.
Have any questions? Put them below and we will help you out!
Course Content
142 Lessons
You need to be signed-in to comment on this post. Login.