I can knit pdf fine but the pdf will show the code I have written but not the results of the code. e.g. PDF will show nrow(dataset) but not the answer 31
nrow(dataset)
31