How can I see .rmd output on github?

I am doing data analysis using R programming. I want my files to be on github. I cannot understand why github does not show the output of .rmd files.

Here is the link to the file in my github repository Data Analysis Practice

I want the output, including graphs, to be displayed on github.

+4
source share
1 answer

Instead:

output: html_document

do it:

output: rmarkdown::github_document

(assuming you have the latest rmarkdown installed, which you should use if you are using RStudio - and I suspect that you - and regularly update or update packages).

It will create Exploring_one_variable.mdand display images as files.

, .

:

output: 
  html_document:
    keep_md: true

Exploring_one_variable.md, Exploring_one_variable.html, github-esque, .

fancier - Rmd:

```{r, echo = FALSE}
knitr::opts_chunk$set(
  fig.path = "README_figs/README-"
)
```

.

, README.md knitr README.Rmd .

+18

Source: https://habr.com/ru/post/1656496/


All Articles