首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >由于找不到html_dependency,RNotebook无法输出

由于找不到html_dependency,RNotebook无法输出
EN

Stack Overflow用户
提问于 2017-06-16 03:09:06
回答 0查看 1K关注 0票数 1

我在让R从笔记本中输出任何工作时遇到了困难。我已经更新了所有的软件包,并重新安装了R。我尝试预览,但收到的错误信息是“未找到html_dependency的路径”。我相信这个问题可能与我的文件无法创建包含.Rmd文件的.nb.html文件有关,但我不确定。我用来确保不是用户错误的方法是打开一个全新的会话和笔记本,并尝试输出已经编写好的脚本。有什么想法吗?

编辑:这是我的代码,是笔记本的基本代码:- title:"R Notebook“输出: html_notebook

代码语言:javascript
复制
This is an [R Markdown](http://rmarkdown.rstudio.com) Notebook. When you 
execute code within the notebook, the results appear beneath the code. 

Try executing this chunk by clicking the *Run* button within the chunk or by 
placing your cursor inside it and pressing *Ctrl+Shift+Enter*. 

```{r}

plot(汽车)

代码语言:javascript
复制
Add a new chunk by clicking the *Insert Chunk* button on the toolbar or by 
pressing *Ctrl+Alt+I*.

When you save the notebook, an HTML file containing the code and output will 
be saved alongside it (click the *Preview* button or press *Ctrl+Shift+K* to 
preview the HTML file).

我已经将它另存为测试notebok.Rmd,但是无法获得.nb.html文件来创建它自己,我认为这是问题所在。

EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44575160

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档