I am using RStudio 1.0.136 with R version 3.3.2 When I do File --> New File --> R HTML , it comes up with the template HTML file (with summary(cars) and plot(cars)) But when I click Knit, the resulting HTML file doesn't have either the R code or the output of the code! There are no error or warning messages.
I wondered if I had to manually change at the top to but that doesn't seem to help at all.
What am I missing? Btw, the knitr package version is 1.14
Thanks!
{r} summary(cars){r fig.width=4, fig.height=3} plot(pressure)It generates an HTML file but without any output text or plot! - whirlaway