Reputation: 61
I have run into issues with my Knit button in RStudio.
It is missing all the options of Knit to HTML, Knit to PDF etc.
I used to have these options. Even after restarting my Mac a few times, I don't have them.
Upvotes: 0
Views: 4376
Reputation: 1229
Have you tried the suggestions here which appears to be the same question/problem:
Describes a few different issues resulting in the behaviour you have seen and solutions to these.
The main suggestions are:
a) You are not running R 3.0 (which is required for RMarkdown v2); or
b) You have a custom markdown renderer defined (markdownToHTML option). You can check for this by executing:
getOption(“rstudio.markdownToHTML”)
Some users have found that the following action also fixes the issue: Add the following code to the head of an .Rmd file.
---
title: "Sample Document"
output: pdf_document
---
That appeared to solve the problem. Hopefully one of these solutions works for you.
Upvotes: 1