我运行的是blogdown powered blog。我最近注意到了DataCamp Light project,它声称“将任何网站或博客转换为交互式学习平台”,这听起来很棒(我想象读者可以运行我在网站上展示的R代码,或者稍微修改它以更好地理解)。
有没有一种已知的、简单的方法来集成blogdown和datacamp交互性?
发布于 2018-10-11 21:24:18
您可以使用Datacamp提供的tutorial包来执行此操作:datacamp.github.io/tutorial
---
title: "Example Document"
author: "Your name here"
output:
html_document:
self_contained: false
---
```{r, include=FALSE}tutorial::go_interactive()
By default, `tutorial` will convert all R chunks.
```{r}A <- 2
B <- 3
A+b
https://stackoverflow.com/questions/52758159
复制相似问题