If I have an R-block in my Rmarkdown notebook, the code is displayed in the file nb.html. However, if I have an SQL block, I cannot find a way to make the code visible in the rendered file.
nb.html
However, if I create html_document(the standard class) instead html_notebook, the displayed HTML contains the SQL code (and the output).
html_document
html_notebook
Is there a way to get a laptop outlet to make something closer to what a knitted outlet does?
I recently came across this, Harlan, and started by asking if there was a way to get the output of a laptop more than knit.
, , , , .
RStudio , YAML, html_document, RMD. , :
output: html_document: code_download: true
, . , .
Source: https://habr.com/ru/post/1666732/More articles:How to create work with jenkins "private", which cannot be called directly, but only from another job? - jenkinsUnix terminal, "cd .." for a certain number of directories - unixThe default types for 'complex' in C are cHow to use vue-datetime-picker in one file - laravelCorrect function search with replacement of function argument - c ++Aligning list item numbers with surrounding paragraphs - htmlMySQL stored function malfunction, but working as a standalone query - mysqlMKMapView Center and zoom - iosJavascript function override prevention - javascriptКак получить ответ SAML от OKTA для тестирования единицы измерения/интеграции - c#All Articles