Closed ogansser closed 5 years ago
I never used R Studio or R Markdown. Your problem seems to be related to Hugo or R Studio.
folder in public looks good an all plots are there, bunt index file does not work.
Where is the generated file? Can you check the path of your generated file in HTML file?
Hello, if I move an R markdown with plots on the server, the index file in the post folder will not be checked off. This is the case with .Rmd or .Rmarkdown.
With New Post markdown it works, but without plots.
e.g. with the following plot (default for R Markdown)
title: R Markdown author: Oliver Gansser date: '2019-05-11' slug: r-markdown categories: [] tags: []
R Markdown
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
Including Plots
You can also embed plots, for example:
Note that the
echo = FALSE
parameter was added to the code chunk to prevent printing of the R code that generated the plot.