簡體   English   中英

heatmaply + flexdashboard = validateCssUnit(sizeInfo$width) 中的錯誤:CSS 單位必須是單元素數字或字符向量

[英]heatmaply + flexdashboard = Error in validateCssUnit(sizeInfo$width) : CSS units must be a single-element numeric or character vector

---
title: heatmaply and flexdashboard don't mix...
output: 
  flexdashboard::flex_dashboard
---

### Chart 1
    
```{r}
library(heatmaply)
heatmaply(mtcars) 

我看到了這個問題(2018):

R 閃亮錯誤:html 工具中的錯誤::validateCssUnit(height); CSS 單位必須是單元素數字或字符向量

估計是有關系的……

  • Heatmaply 是版本:1.1.1
  • flexdashboard 是版本:0.5.2

我曾經有這個代碼: ggplotly(x)導致錯誤。

我添加了ggplotly(x, height=500, width=1000)並且錯誤消失了。

暫無
暫無

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

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