When I try to press the 'Knit' button on RStudio - nothing happens. Literally nothing occurs. A "R Markdown" dialog box opens, and it's blank inside:
Solutions (unsuccessful):
Uninstalled R/RStudio, Re-installed it multiple times.
Set the JAVA_HOME; checked the R_HOME, R_PATH; added the JAVA path to the System environment variables
a. rJava works just fine
In the meantime, set up a command to knit specific documents with script (a simple “rmarkdown::render”) command, which I know is happening in the back-end of hitting the ‘Knit button’
Have done opts_chunk$set as below:
```{r, echo=FALSE}
knitr::opts_chunk$set(error = TRUE)
```
Does this happen when you try to knit the default new R Markdown document, or only your own document? Yes, it happens when I knit the default R Markdown document, and also my own documents.
Can you provide some more system info?
RStudio Edition: Desktop
RStudio Version: 1.1.456
OS Version: Windows 10 Enterprise
R Version: 3.4.1
Though I've not seen this specific issue (a blank dialogue after hitting the knit button -- odd), I've certainly had R Markdown issues without good error messages. I usually diagnose such persnickety issues by moving my R Markdown document contents from the document that doesn't work to the one that does - isolating the code-chunk causing the problem.
Nope, I cannot knit a default .Rmd document! It just straight out-of-the-box has never been able to knit a document hitting 'Knit', though I've done the render::rmarkdown a bunch of times.