Skip to content

delete default behaviour if OUTPUT_TYPE is omitted #32

Open
@Quoteme

Description

@Quoteme

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions