Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete default behaviour if OUTPUT_TYPE is omitted #32

Open
Quoteme opened this issue Jul 11, 2020 · 0 comments
Open

delete default behaviour if OUTPUT_TYPE is omitted #32

Quoteme opened this issue Jul 11, 2020 · 0 comments

Comments

@Quoteme
Copy link

Quoteme commented Jul 11, 2020

Issue:

Until now, omitting "OUTPUT_TYPE" has following behaviour:

If OUTPUT_TYPE is ommited, RMarkdown produces an html document.

But I dislike this, because specifying the desired output format under "output" in the YAML metadata of your document is completely ignored!

Example:

---
title: test
author: Luca Leon Happel
date: 2020-07-11 Sa 02:48 18
output: pdf_document
---

Here is my _really_ fancy text!

produces an html file, when ":RMarkdown" is run!

Possible fix:

Just run :!Rscript -e 'library(rmarkdown);render("%")' would do just what I want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant