簡體   English   中英

R Markdown 問題我無法真正理解錯誤?

[英]R Markdown issue i can`t really understand the error?

The R markdown could not give me the html file as i press the knit option it keep showing me this error to my following command.The code chunk does not give any error it s runs and give the require output but the final html file wasn t生成

library(BHH2)
poison.data<-poison.data
poison.data

錯誤是- eval 中的錯誤(expr,envir,enclos):object 'poison.data' not found Calls: ... handle -> withCallingHandlers -> withVisible -> eval -> eval 執行停止

似乎毒物.data是poison.data中的內置數據集。 你可以試試這個:

---
title: "Your title"
output: html_document
---

```{r}
library(BHH2)
data(poison.data)
poison.data
```

樣品 output:

在此處輸入圖像描述

data()的文檔有有用的信息。 您可以在控制台中使用?data訪問它。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM